We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents b8ce7a5 + 4d750ef commit b9d99c6Copy full SHA for b9d99c6
README.md
@@ -954,7 +954,7 @@ $cursor = DB::collection('users')->raw(function($collection)
954
Optional: if you don't pass a closure to the raw method, the internal MongoCollection object will be accessible:
955
956
```php
957
-$model = User::raw()->findOne(['age' => array('$lt' => 18]));
+$model = User::raw()->findOne(['age' => array('$lt' => 18)]);
958
```
959
960
The internal MongoClient and MongoDB objects can be accessed like this:
0 commit comments