Click or drag to resize

QueryFlags Enumeration

Flags used with queries (see the SetQueryFlags method of MongoCursor).

Namespace:  MongoDB.Driver
Assembly:  MongoDB.Driver.Legacy (in MongoDB.Driver.Legacy.dll) Version: 2.14.0+2b37a1fe1cbdbe1a020b52b77f1197b6d77575e7
Syntax
[FlagsAttribute]
public enum QueryFlags
Members
  Member nameValueDescription
None0 No flags.
TailableCursor2 This cursor should be tailable.
SecondaryOk4 It's OK for the query to be handled by a secondary server.
NoCursorTimeout16 Tell the server not to let the cursor timeout.
AwaitData32 Tell the server to wait for data to become available before returning (only used with TailableCursor).
Exhaust64 Tell the server to send all the data at once (in multiple messages if necessary) without waiting for GetMore messages.
Partial128 Allow partial results in a sharded system if some of the shards are down.
See Also