diff --git a/README.md b/README.md index d3c3370..f0d187b 100644 --- a/README.md +++ b/README.md @@ -460,6 +460,21 @@ $db->table('mytable') ->findAll(); ``` +Further AND conditions can be embedded within an OR: + +```php +$db->table('mytable') + ->beginOr() + ->like('column2', '%mytable') + ->beginAnd() + ->gte('column1', 3) + ->eq('column5', 'titi') + ->closeAnd() + ->closeOr() + ->findAll(); +``` + + ### Debugging Log generated queries: