Skip to content

Commit

Permalink
Documentation of Where clause with error
Browse files Browse the repository at this point in the history
In the Where AND and OR documentation part there was no comma between the second and third parameters
  • Loading branch information
aislandener authored Aug 11, 2020
1 parent 3c85a7b commit 57510e2
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 57510e2

Please sign in to comment.