CountOptions

Members

Functions

maxTime
void maxTime(Duration d)

The maximum amount of time to allow the query to run.

Variables

collation
Nullable!Collation collation;

Collation allows users to specify language-specific rules for string comparison, such as rules for letter-case and accent marks.

hint
Nullable!Bson hint;

The index to use. Specify either the index name as a string or the index key pattern.

limit
Nullable!long limit;

The maximum number of documents to return.

maxTimeMS
Nullable!long maxTimeMS;

The maximum amount of time to allow the query to run.

readConcern
Nullable!ReadConcern readConcern;

Specifies the read concern. Only compatible with a write stage. (e.g. $out, $merge)

skip
Nullable!long skip;

The number of documents to skip before returning.

See Also

Meta