Commit b9d99c61 authored by Jens Segers's avatar Jens Segers Committed by GitHub

Merge pull request #1319 from cjmling/patch-1

fix typo in README.md
parents b8ce7a5f 4d750eff
...@@ -954,7 +954,7 @@ $cursor = DB::collection('users')->raw(function($collection) ...@@ -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: Optional: if you don't pass a closure to the raw method, the internal MongoCollection object will be accessible:
```php ```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: 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