Makes the result cursor await data.
Makes the result cursor await data.
import reactivemongo.api.QueryOpts val opts: QueryOpts = QueryOpts().awaitData
Sets the size of result batches.
the upper limit on the number of documents to retrieve per batch (0 for unspecified)
Sets the flag to return all data returned by the query at once rather than splitting the results into batches.
Sets the query (raw) flags.
the query flags
Sets the noTimeout
flag.
Toggles OplogReplay
Sets the flag to return partial data from a query against a sharded cluster in which some shards do not respond rather than throwing an error.
Sets how many documents must be skipped at the beginning of the results.
the number of documents to skip.
Allows querying of a replica slave (slaveOk
).
Makes the result cursor tailable.
Makes the result cursor tailable.
import reactivemongo.api.QueryOpts val opts: QueryOpts = QueryOpts().tailable
A helper to make the query options. You may use the methods to set the fields of this class, or set them directly.
the number of documents to skip.
the upper limit on the number of documents to retrieve per batch (0 for unspecified)
the query flags