Parent: $root.$constants
kMongoQueryFlagAwaitData | Use with kMongoQueryFlagTailableCursor. Block rather than returning no data. After a period, time out. |
kMongoQueryFlagExhaust | Stream the data down full blast in multiple "reply" packets. Faster when pulling down a lot of data and you know you want to retrieve it all. |
kMongoQueryFlagNone | No query flags specified |
kMongoQueryFlagNoTimeout | The server normally times out an idle cursor after an inactivity period (10 minutes). This prevents that. |
kMongoQueryFlagPartial | Get partial results from mongos if some shards are down(instead of throwing an error). |
kMongoQueryFlagSecondaryOk | Allow query of replica set secondaries. |
kMongoQueryFlagTailableCursor | Cursor will not be closed when the last data is retrieved. You can resume this cursor later. |