Skip to content

Commit 7a7f32d

Browse files
committed
Merge pull request #815 from RKalkani/master
Update README.md
2 parents 6e6146f + f19da91 commit 7a7f32d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -804,7 +804,7 @@ class Message extends Eloquent {
804804
These expressions will be injected directly into the query.
805805

806806
```php
807-
User::whereRaw(['age' => array('$gt' => 30, '$lt' => 40]))->get();
807+
User::whereRaw(['age' => array('$gt' => 30, '$lt' => 40)])->get();
808808
```
809809

810810
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.

0 commit comments

Comments
 (0)