Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
M
mongo-php-library
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
mongo-php-library
Commits
85781662
Commit
85781662
authored
9 years ago
by
Jeremy Mikola
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #124
parents
76344d13
04a84b65
master
phplib-520
test-double-free
v1.0
v1.1
v1.2
v1.3
v1.4
v1.5
v1.6
v1.7
1.7.0-beta1
1.6.0
1.5.2
1.5.1
1.5.0
1.4.3
1.4.2
1.4.1
1.4.0
1.3.2
1.3.1
1.3.0
1.2.0
1.2.0-alpha1
1.1.2
1.1.1
1.1.0
1.1.0-alpha1
1.0.5
1.0.4
1.0.3
1.0.2
1.0.1
No related merge requests found
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
Find.php
src/Operation/Find.php
+5
-5
No files found.
src/Operation/Find.php
View file @
85781662
...
@@ -198,11 +198,11 @@ class Find implements Executable
...
@@ -198,11 +198,11 @@ class Find implements Executable
$options
[
'partial'
]
=
true
;
$options
[
'partial'
]
=
true
;
}
}
if
(
isset
(
$options
[
'cursorType'
]))
{
if
(
isset
(
$
this
->
options
[
'cursorType'
]))
{
if
(
$options
[
'cursorType'
]
===
self
::
TAILABLE
)
{
if
(
$
this
->
options
[
'cursorType'
]
===
self
::
TAILABLE
)
{
$options
[
'tailable'
]
=
true
;
$options
[
'tailable'
]
=
true
;
}
}
if
(
$options
[
'cursorType'
]
===
self
::
TAILABLE_AWAIT
)
{
if
(
$
this
->
options
[
'cursorType'
]
===
self
::
TAILABLE_AWAIT
)
{
$options
[
'tailable'
]
=
true
;
$options
[
'tailable'
]
=
true
;
$options
[
'awaitData'
]
=
true
;
$options
[
'awaitData'
]
=
true
;
}
}
...
@@ -216,11 +216,11 @@ class Find implements Executable
...
@@ -216,11 +216,11 @@ class Find implements Executable
$modifiers
=
empty
(
$this
->
options
[
'modifiers'
])
?
[]
:
(
array
)
$this
->
options
[
'modifiers'
];
$modifiers
=
empty
(
$this
->
options
[
'modifiers'
])
?
[]
:
(
array
)
$this
->
options
[
'modifiers'
];
if
(
isset
(
$options
[
'comment'
]))
{
if
(
isset
(
$
this
->
options
[
'comment'
]))
{
$modifiers
[
'$comment'
]
=
$options
[
'comment'
];
$modifiers
[
'$comment'
]
=
$options
[
'comment'
];
}
}
if
(
isset
(
$options
[
'maxTimeMS'
]))
{
if
(
isset
(
$
this
->
options
[
'maxTimeMS'
]))
{
$modifiers
[
'$maxTimeMS'
]
=
$options
[
'maxTimeMS'
];
$modifiers
[
'$maxTimeMS'
]
=
$options
[
'maxTimeMS'
];
}
}
...
...
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