Skip to content

Commit

Permalink
Merge pull request baopham#227 from aislandener/patch-1
Browse files Browse the repository at this point in the history
Documentation of Where clause with error
  • Loading branch information
JackPriceBurns authored Sep 30, 2020
2 parents cab7a95 + 57510e2 commit 0d12b73
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -122,12 +122,12 @@ $model->where(['key' => 'key value']);
// Chainable for 'AND'.
$model->where('foo', 'bar')
->where('foo2', '!=' 'bar2')
->where('foo2', '!=', 'bar2')
->get();
// Chainable for 'OR'.
$model->where('foo', 'bar')
->orWhere('foo2', '!=' 'bar2')
->orWhere('foo2', '!=', 'bar2')
->get();
// Other types of conditions
Expand Down

0 comments on commit 0d12b73

Please sign in to comment.