Commit 7a7f32d7 authored by Jens Segers's avatar Jens Segers

Merge pull request #815 from RKalkani/master

Update README.md
parents 6e6146fc f19da913
......@@ -804,7 +804,7 @@ class Message extends Eloquent {
These expressions will be injected directly into the query.
```php
User::whereRaw(['age' => array('$gt' => 30, '$lt' => 40]))->get();
User::whereRaw(['age' => array('$gt' => 30, '$lt' => 40)])->get();
```
You can also perform raw expressions on the internal MongoCollection object. If this is executed on the model class, it will return a collection of models. If this is executed on the query builder, it will return the original response.
......
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