Skip to content

Commit 0d12b73

Browse files
Merge pull request #227 from aislandener/patch-1
Documentation of Where clause with error
2 parents cab7a95 + 57510e2 commit 0d12b73

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -122,12 +122,12 @@ $model->where(['key' => 'key value']);
122122
123123
// Chainable for 'AND'.
124124
$model->where('foo', 'bar')
125-
->where('foo2', '!=' 'bar2')
125+
->where('foo2', '!=', 'bar2')
126126
->get();
127127
128128
// Chainable for 'OR'.
129129
$model->where('foo', 'bar')
130-
->orWhere('foo2', '!=' 'bar2')
130+
->orWhere('foo2', '!=', 'bar2')
131131
->get();
132132
133133
// Other types of conditions

0 commit comments

Comments
 (0)