The maximum amount of time for the server to wait on new documents to satisfy a tailable cursor query. This only applies to a TAILABLE_AWAIT cursor. When the cursor is not a TAILABLE_AWAIT cursor, this option is ignored.
The maximum amount of time to allow the query to run.
Enables writing to temporary files on the server. When set to true, the server can write temporary data to disk while executing the find operation.
Get partial results from a mongos if some shards are down (instead of throwing an error).
The number of documents to return per batch.
Collation allows users to specify language-specific rules for string comparison, such as rules for letter-case and accent marks.
Users can specify an arbitrary string to help trace the operation through the database profiler, currentOp, and logs.
Indicates the type of cursor to use. This value includes both the tailable and awaitData options.
The index to use. Specify either the index name as a string or the index key pattern.
The maximum number of documents to return.
The exclusive upper bound for a specific index.
The maximum amount of time for the server to wait on new documents to satisfy a tailable cursor query. This only applies to a TAILABLE_AWAIT cursor. When the cursor is not a TAILABLE_AWAIT cursor, this option is ignored.
Maximum number of documents or index keys to scan when executing the query.
The maximum amount of time to allow the query to run.
The exclusive lower bound for a specific index.
The server normally times out idle cursors after an inactivity period (10 minutes) to prevent excess memory use. Set this option to prevent that.
Enables optimization when querying the oplog for a range of ts values.
If true, when an insert fails, return without performing the remaining writes. If false, when a write fails, continue with the remaining writes, if any.
Limits the fields to return for all matching documents.
Specifies the read concern. Only compatible with a write stage. (e.g. $out, $merge)
If true, returns only the index keys in the resulting documents.
Determines whether to return the record identifier for each document. If true, adds a field $recordId to the returned documents.
Determines whether to close the cursor after the first batch.
The number of documents to skip before returning.
Prevents the cursor from returning a document more than once because of an intervening write operation.
The order in which to return matching documents.