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
6a46d117
Commit
6a46d117
authored
Jan 30, 2018
by
Jeremy Mikola
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Clarify when aggregate and mapReduce options may be ignored
parent
9b925197
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
10 additions
and
0 deletions
+10
-0
apiargs-MongoDBCollection-method-aggregate-option.yaml
...es/apiargs-MongoDBCollection-method-aggregate-option.yaml
+2
-0
apiargs-MongoDBCollection-method-mapReduce-option.yaml
...es/apiargs-MongoDBCollection-method-mapReduce-option.yaml
+4
-0
Aggregate.php
src/Operation/Aggregate.php
+2
-0
MapReduce.php
src/Operation/MapReduce.php
+2
-0
No files found.
docs/includes/apiargs-MongoDBCollection-method-aggregate-option.yaml
View file @
6a46d117
...
@@ -70,6 +70,8 @@ source:
...
@@ -70,6 +70,8 @@ source:
source
:
source
:
file
:
apiargs-MongoDBCollection-common-option.yaml
file
:
apiargs-MongoDBCollection-common-option.yaml
ref
:
readPreference
ref
:
readPreference
post
:
|
This option will be ignored when using the :ref:`$out <agg-out>` stage.
---
---
source
:
source
:
file
:
apiargs-MongoDBCollection-common-option.yaml
file
:
apiargs-MongoDBCollection-common-option.yaml
...
...
docs/includes/apiargs-MongoDBCollection-method-mapReduce-option.yaml
View file @
6a46d117
source
:
source
:
file
:
apiargs-MongoDBCollection-common-option.yaml
file
:
apiargs-MongoDBCollection-common-option.yaml
ref
:
bypassDocumentValidation
ref
:
bypassDocumentValidation
post
:
|
This only applies when results are output to a collection.
---
---
source
:
source
:
file
:
apiargs-MongoDBCollection-common-option.yaml
file
:
apiargs-MongoDBCollection-common-option.yaml
...
@@ -55,6 +57,8 @@ source:
...
@@ -55,6 +57,8 @@ source:
source
:
source
:
file
:
apiargs-MongoDBCollection-common-option.yaml
file
:
apiargs-MongoDBCollection-common-option.yaml
ref
:
readPreference
ref
:
readPreference
post
:
|
This option will be ignored when results are output to a collection.
---
---
arg_name
:
option
arg_name
:
option
name
:
scope
name
:
scope
...
...
src/Operation/Aggregate.php
View file @
6a46d117
...
@@ -92,6 +92,8 @@ class Aggregate implements Executable
...
@@ -92,6 +92,8 @@ class Aggregate implements Executable
*
*
* * readPreference (MongoDB\Driver\ReadPreference): Read preference.
* * readPreference (MongoDB\Driver\ReadPreference): Read preference.
*
*
* This option is ignored if the $out stage is specified.
*
* * typeMap (array): Type map for BSON deserialization. This will be
* * typeMap (array): Type map for BSON deserialization. This will be
* applied to the returned Cursor (it is not sent to the server).
* applied to the returned Cursor (it is not sent to the server).
*
*
...
...
src/Operation/MapReduce.php
View file @
6a46d117
...
@@ -107,6 +107,8 @@ class MapReduce implements Executable
...
@@ -107,6 +107,8 @@ class MapReduce implements Executable
*
*
* * readPreference (MongoDB\Driver\ReadPreference): Read preference.
* * readPreference (MongoDB\Driver\ReadPreference): Read preference.
*
*
* This option is ignored if results are output to a collection.
*
* * scope (document): Specifies global variables that are accessible in
* * scope (document): Specifies global variables that are accessible in
* the map, reduce and finalize functions.
* the map, reduce and finalize functions.
*
*
...
...
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