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
Feb 22, 2016
by
Jeremy Mikola
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #124
parents
76344d13
04a84b65
Hide 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
$options
[
'partial'
]
=
true
;
}
if
(
isset
(
$options
[
'cursorType'
]))
{
if
(
$options
[
'cursorType'
]
===
self
::
TAILABLE
)
{
if
(
isset
(
$
this
->
options
[
'cursorType'
]))
{
if
(
$
this
->
options
[
'cursorType'
]
===
self
::
TAILABLE
)
{
$options
[
'tailable'
]
=
true
;
}
if
(
$options
[
'cursorType'
]
===
self
::
TAILABLE_AWAIT
)
{
if
(
$
this
->
options
[
'cursorType'
]
===
self
::
TAILABLE_AWAIT
)
{
$options
[
'tailable'
]
=
true
;
$options
[
'awaitData'
]
=
true
;
}
...
...
@@ -216,11 +216,11 @@ class Find implements Executable
$modifiers
=
empty
(
$this
->
options
[
'modifiers'
])
?
[]
:
(
array
)
$this
->
options
[
'modifiers'
];
if
(
isset
(
$options
[
'comment'
]))
{
if
(
isset
(
$
this
->
options
[
'comment'
]))
{
$modifiers
[
'$comment'
]
=
$options
[
'comment'
];
}
if
(
isset
(
$options
[
'maxTimeMS'
]))
{
if
(
isset
(
$
this
->
options
[
'maxTimeMS'
]))
{
$modifiers
[
'$maxTimeMS'
]
=
$options
[
'maxTimeMS'
];
}
...
...
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