Commit f19da913 authored by Rahul Kalkani's avatar Rahul Kalkani

Update README.md

Fix typo in README
parent 6e6146fc
...@@ -804,7 +804,7 @@ class Message extends Eloquent { ...@@ -804,7 +804,7 @@ class Message extends Eloquent {
These expressions will be injected directly into the query. These expressions will be injected directly into the query.
```php ```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. 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