Commit 4d750eff authored by Chandrajeet Maurya's avatar Chandrajeet Maurya Committed by GitHub

fix typo in README.md

fix closing bracket typo
parent b8ce7a5f
......@@ -954,7 +954,7 @@ $cursor = DB::collection('users')->raw(function($collection)
Optional: if you don't pass a closure to the raw method, the internal MongoCollection object will be accessible:
```php
$model = User::raw()->findOne(['age' => array('$lt' => 18]));
$model = User::raw()->findOne(['age' => array('$lt' => 18)]);
```
The internal MongoClient and MongoDB objects can be accessed like this:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment