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.
1 parent 1af8e29 commit 987f124Copy full SHA for 987f124
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