-
Type: Bug
-
Resolution: Done
-
Priority: Critical - P2
-
Affects Version/s: laravel-4.0.0
-
Component/s: Laravel
-
None
User::whereNot('title', 'admin')->get()
Generates the following query
{ $not: { title: 'admin' }}
Which is incorrect
unknown top level operator: $not. If you are trying to negate an entire expression, use $nor.
- is caused by
-
PHPORM-49 Test and fix Query\Builder::whereNot
- Closed