Commit f7c68648 authored by Katherine Walker's avatar Katherine Walker

Add ReadPreference documentation for Collection watch()

parent 60e3ca24
...@@ -26,15 +26,12 @@ source: ...@@ -26,15 +26,12 @@ source:
file: apiargs-MongoDBCollection-method-find-option.yaml file: apiargs-MongoDBCollection-method-find-option.yaml
ref: maxAwaitTimeMS ref: maxAwaitTimeMS
--- ---
arg_name: option source:
name: readPreference file: apiargs-MongoDBCollection-common-option.yaml
type: :php:`MongoDB\\Driver\\ReadPreference <class.mongodb-driver-readpreference>` ref: readPreference
description: | post: |
The read preference for the initial change stream aggregation, used for This is used for both the initial change stream aggregation and for
server selection during an automatic resume. server selection during an automatic resume.
interface: phpmethod
operation: ~
optional: true
--- ---
arg_name: option arg_name: option
name: resumeAfter name: resumeAfter
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment