Platforms to show: All Mac Windows Linux Cross-Platform
Back to MongoCollectionMBS class.
MongoCollectionMBS.kFlagAwaitData = 32
Type | Topic | Plugin | Version |
const | MongoDB | MBS MongoDB Plugin | 23.1 |
Use with kFlagTailableCursor. Block rather than returning no data. After a period, time out.
MongoCollectionMBS.kFlagExhaust = 64
Type | Topic | Plugin | Version |
const | MongoDB | MBS MongoDB Plugin | 23.1 |
Stream the data down full blast in multiple “reply” packets. Faster when you are pulling down a lot of data and you know you want to retrieve it all. Only applies to cursors created from a find operation (i.e. find).
MongoCollectionMBS.kFlagNoCursorTimeout = 16
Type | Topic | Plugin | Version |
const | MongoDB | MBS MongoDB Plugin | 23.1 |
The server normally times out an idle cursor after an inactivity period (10 minutes). This prevents that.
MongoCollectionMBS.kFlagNone = 0
Type | Topic | Plugin | Version |
const | MongoDB | MBS MongoDB Plugin | 23.1 |
Specify no query flags.
MongoCollectionMBS.kFlagPartial = 128
Type | Topic | Plugin | Version |
const | MongoDB | MBS MongoDB Plugin | 23.1 |
Get partial results from mongos if some shards are down (instead of throwing an error).
MongoCollectionMBS.kFlagSecondaryOk = 4
Type | Topic | Plugin | Version |
const | MongoDB | MBS MongoDB Plugin | 23.1 |
Allow query of replica set secondaries.
MongoCollectionMBS.kFlagTailableCursor = 2
Type | Topic | Plugin | Version |
const | MongoDB | MBS MongoDB Plugin | 23.1 |
Cursor will not be closed when the last data is retrieved. You can resume this cursor later.
The items on this page are in the following plugins: MBS MongoDB Plugin.