Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
L
laravel-mongodb
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
sinan
laravel-mongodb
Commits
7a7f32d7
Commit
7a7f32d7
authored
Apr 15, 2016
by
Jens Segers
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #815 from RKalkani/master
Update README.md
parents
6e6146fc
f19da913
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
README.md
README.md
+1
-1
No files found.
README.md
View file @
7a7f32d7
...
...
@@ -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.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment