From 57510e2685aaa0383c95199a2d4bd97b597fd750 Mon Sep 17 00:00:00 2001 From: Aislan Dener Souza Vicentini Date: Tue, 11 Aug 2020 09:26:07 -0300 Subject: [PATCH] Documentation of Where clause with error In the Where AND and OR documentation part there was no comma between the second and third parameters --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index ea71868..2746b27 100644 --- a/README.md +++ b/README.md @@ -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