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
de2e3310
Commit
de2e3310
authored
Feb 05, 2018
by
Jeremy Mikola
Browse files
Options
Browse Files
Download
Plain Diff
Merge last commit from pull request #476
parents
a09973f1
462d1e30
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
19 deletions
+9
-19
Watch.php
src/Operation/Watch.php
+9
-19
No files found.
src/Operation/Watch.php
View file @
de2e3310
...
@@ -51,6 +51,10 @@ class Watch implements Executable
...
@@ -51,6 +51,10 @@ class Watch implements Executable
*
*
* Supported options:
* Supported options:
*
*
* * batchSize (integer): The number of documents to return per batch.
*
* * collation (document): Specifies a collation.
*
* * fullDocument (string): Determines whether the "fullDocument" field
* * fullDocument (string): Determines whether the "fullDocument" field
* will be populated for update operations. By default, change streams
* will be populated for update operations. By default, change streams
* only return the delta of fields during the update operation (via the
* only return the delta of fields during the update operation (via the
...
@@ -61,31 +65,17 @@ class Watch implements Executable
...
@@ -61,31 +65,17 @@ class Watch implements Executable
* Insert and replace operations always include the "fullDocument" field
* Insert and replace operations always include the "fullDocument" field
* and delete operations omit the field as the document no longer exists.
* and delete operations omit the field as the document no longer exists.
*
*
* * resumeAfter (document): Specifies the logical starting point for the
* * maxAwaitTimeMS (integer): The maximum amount of time for the server to
* new change stream.
* wait on new documents to satisfy a change stream query.
*
* * readConcern (MongoDB\Driver\ReadConcern): Read concern. Note that a
* "majority" read concern is not compatible with the $out stage
*
*
* This is not supported for server versions < 3.2 and will result in an
* * readConcern (MongoDB\Driver\ReadConcern): Read concern.
* exception at execution time if used.
*
*
* * readPreference (MongoDB\Driver\ReadPreference): Read preference. This
* * readPreference (MongoDB\Driver\ReadPreference): Read preference. This
* will be used to select a new server when resuming. Defaults to a
* will be used to select a new server when resuming. Defaults to a
* "primary" read preference.
* "primary" read preference.
*
*
* * maxAwaitTimeMS (integer): The maximum amount of time for the server to
* * resumeAfter (document): Specifies the logical starting point for the
* wait on new documents to satisfy a change stream query.
* new change stream.
*
* * batchSize (integer): The number of documents to return per batch.
*
* This option is sent only if the caller explicitly provides a value.
* The default is to not send a value.
*
* * collation (document): Specifies a collation.
*
* This option is sent only if the caller explicitly provides a value.
* The default is to not send a value.
*
*
* @param string $databaseName Database name
* @param string $databaseName Database name
* @param string $collectionName Collection name
* @param string $collectionName Collection name
...
...
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