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
76b86559
Commit
76b86559
authored
Aug 02, 2016
by
pi0
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Backward compability
parent
fe278ac6
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
97 additions
and
103 deletions
+97
-103
MongodbServiceProvider.php
src/Jenssegers/Mongodb/MongodbServiceProvider.php
+3
-0
Builder.php
src/Jenssegers/Mongodb/Query/Builder.php
+94
-103
No files found.
src/Jenssegers/Mongodb/MongodbServiceProvider.php
View file @
76b86559
...
...
@@ -14,6 +14,9 @@ class MongodbServiceProvider extends ServiceProvider
Model
::
setConnectionResolver
(
$this
->
app
[
'db'
]);
Model
::
setEventDispatcher
(
$this
->
app
[
'events'
]);
$s
=
explode
(
'.'
,
\Illuminate\Foundation\Application
::
VERSION
);
define
(
'SHOULD_RETURN_COLLECTION'
,(
10
*
$s
[
0
]
+
$s
[
1
])
>=
53
);
}
/**
...
...
src/Jenssegers/Mongodb/Query/Builder.php
View file @
76b86559
This diff is collapsed.
Click to expand it.
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