QueryFlags Enumeration |
Namespace: MongoDB.Driver
Member name | Value | Description | |
---|---|---|---|
None | 0 | No flags. | |
TailableCursor | 2 | This cursor should be tailable. | |
SlaveOk | 4 | It's OK for the query to be handled by a secondary server. | |
NoCursorTimeout | 16 | Tell the server not to let the cursor timeout. | |
AwaitData | 32 | Tell the server to wait for data to become available before returning (only used with TailableCursor). | |
Exhaust | 64 | Tell the server to send all the data at once (in multiple messages if necessary) without waiting for GetMore messages. | |
Partial | 128 | Allow partial results in a sharded system if some of the shards are down. |
Copyright © 2010–present MongoDB Inc.