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.5.0+57.Branch.master.Sha.6a4e00a2d91090c65a9b11364b9ebfdb9c7da076
Syntax
[FlagsAttribute]
public enum QueryFlags
Members
  Member nameValueDescription
None0 No flags.
TailableCursor2 This cursor should be tailable.
SlaveOk4 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