Platforms to show: All Mac Windows Linux Cross-Platform
MongoCursorMBS class
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
class | MongoDB | MBS MongoDB Plugin | 22.3 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
It wraps up the wire protocol negotiation required to initiate a query and retrieve an unknown number of documents.
Cursors are lazy, meaning that no connection is established and no network traffic occurs until the first call to NextRecord().
This is an abstract class. You can't create an instance, but you can get one from various plugin functions.
- 9 properties
- property BatchSize as UInt32
- property Current as String
- property Handle as Integer
- property Host as MongoHostListMBS
- property ID as Int64
- property Limit as Int64
- property MaxAwaitTimeMS as UInt32
- property More as Boolean
- property Parent as Variant
- 4 methods
- method Clone as MongoURIMBS
- method Constructor Private
- method ErrorDocument(byref ReplyJSON as String) as Boolean
- method NextRecord(byref RecordJSON as String) as Boolean
This class has no sub classes.
Some methods using this class:
- MongoClientMBS.FindDatabases(OptionsJSON as String = "") as MongoCursorMBS
- MongoClientMBS.NewCursorFromCommandReply(commandReplyJSON as String, OptionsJSON as String = "") as MongoCursorMBS
- MongoCollectionMBS.Aggregate(flags as Integer, pipelineJSON as String, OptionsJSON as String = "") as MongoCursorMBS
- MongoCollectionMBS.Find(FilterJSON as String, OptionsJSON as String = "") as MongoCursorMBS
- MongoCollectionMBS.FindIndexes(OptionsJSON as String = "") as MongoCursorMBS
- MongoDatabaseMBS.Aggregate(pipelineJSON as String, OptionsJSON as String = "") as MongoCursorMBS
- MongoDatabaseMBS.FindCollections(OptionsJSON as String = "") as MongoCursorMBS
Some examples using this class:
Blog Entries
Xojo Developer Magazine
Release notes
- Version 22.4
- Added ErrorDocument method to MongoCursorMBS class.
The items on this page are in the following plugins: MBS MongoDB Plugin.
MongoCollectionMBS - MongoDatabaseMBS