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
661431d0
Commit
661431d0
authored
May 01, 2013
by
Jens Segers
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Made compile methods private
parent
a90d8bdc
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
7 deletions
+7
-7
Query.php
src/Jenssegers/Mongodb/Query.php
+7
-7
No files found.
src/Jenssegers/Mongodb/Query.php
View file @
661431d0
...
...
@@ -328,7 +328,7 @@ class Query extends \Illuminate\Database\Query\Builder {
*
* @return array
*/
p
ublic
function
compileWheres
()
p
rivate
function
compileWheres
()
{
if
(
!
$this
->
wheres
)
return
array
();
...
...
@@ -366,7 +366,7 @@ class Query extends \Illuminate\Database\Query\Builder {
return
$wheres
;
}
p
ublic
function
compileWhereBasic
(
$where
)
p
rivate
function
compileWhereBasic
(
$where
)
{
extract
(
$where
);
...
...
@@ -395,21 +395,21 @@ class Query extends \Illuminate\Database\Query\Builder {
return
$query
;
}
p
ublic
function
compileWhereNested
(
$where
)
p
rivate
function
compileWhereNested
(
$where
)
{
extract
(
$where
);
return
$query
->
compileWheres
();
}
p
ublic
function
compileWhereIn
(
$where
)
p
rivate
function
compileWhereIn
(
$where
)
{
extract
(
$where
);
return
array
(
$column
=>
array
(
'$in'
=>
$values
));
}
p
ublic
function
compileWhereNull
(
$where
)
p
rivate
function
compileWhereNull
(
$where
)
{
$where
[
'operator'
]
=
'='
;
$where
[
'value'
]
=
null
;
...
...
@@ -417,7 +417,7 @@ class Query extends \Illuminate\Database\Query\Builder {
return
$this
->
compileWhereBasic
(
$where
);
}
p
ublic
function
compileWhereNotNull
(
$where
)
p
rivate
function
compileWhereNotNull
(
$where
)
{
$where
[
'operator'
]
=
'!='
;
$where
[
'value'
]
=
null
;
...
...
@@ -425,7 +425,7 @@ class Query extends \Illuminate\Database\Query\Builder {
return
$this
->
compileWhereBasic
(
$where
);
}
p
ublic
function
compileWherebetween
(
$where
)
p
rivate
function
compileWherebetween
(
$where
)
{
extract
(
$where
);
...
...
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