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.7.3+Branch.v2.7.x.Sha.2f1f2be13a23b8520cb9c2ee8439c022f9a03efe
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