Skip to content

Commit

Permalink
Updated README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
joshmcrae committed May 13, 2019
1 parent 3855b81 commit 7e604dc
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 7e604dc

Please sign in to comment.