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.20.0+ee01960089f28ea1b501690df5fc9f6318a70242
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