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
- 6 methods
- method Clone as MongoURIMBS
- method Constructor Private
- method ErrorDocument(byref ReplyJSON as String) as Boolean
- method NextRecord(byref RecordJSON as String) as Boolean
- method Operator_Convert as String
- method Records as String
This class has no sub classes.
Some methods using this class:
- MongoClientMBS.CommandQuery(dbName as String, queryJSON as String) as MongoCursorMBS
- 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
- News from the MBS Xojo Plugins Version 24.4
- MonkeyBread Software Releases the MBS Xojo Plugins in version 24.4
- MBS Xojo Plugins, version 24.4pr1
- News from the MBS Xojo Plugins Version 22.4
- MBS Xojo Plugins, version 22.4pr1
Xojo Developer Magazine
- 22.6, page 10: News
- 21.1, page 95: A Database That Connects, A Mongo DB photo database used with FileMaker and Xojo by Stefanie Juchmes
Release notes
- Version 24.4
- Added Records method and Operator_Convert to MongoCursorMBS class.
- Version 22.4
- Added ErrorDocument method to MongoCursorMBS class.
The items on this page are in the following plugins: MBS MongoDB Plugin.
MongoCollectionMBS - MongoDatabaseMBS