Platforms to show: All Mac Windows Linux Cross-Platform
Back to MongoCursorMBS class.
MongoCursorMBS.Clone as MongoURIMBS
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| method | MongoDB | MBS MongoDB Plugin | 22.3 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
The cloned cursor will be reset to the beginning of the query, and therefore the query will be re-executed on the MongoDB server when Next is called.
MongoCursorMBS.Constructor Private
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| method | MongoDB | MBS MongoDB Plugin | 22.3 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
MongoCursorMBS.ErrorDocument(byref ReplyJSON as String) as Boolean
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| method | MongoDB | MBS MongoDB Plugin | 22.4 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
If an error occurred server-side, the ReplyJSON is set to the server’s reply document with information about the error.
MongoCursorMBS.NextRecord(byref RecordJSON as String) as Boolean
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| method | MongoDB | MBS MongoDB Plugin | 22.3 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
This function shall iterate the underlying cursor, setting bson to the next document.
Returns false if there is no other record.
In case of an error, raises MongoExceptionMBS.
Raises OutOfMemoryException if size of JSON exceeds 2 GB.
MongoCursorMBS.Operator_Convert as String
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| method | MongoDB | MBS MongoDB Plugin | 24.4 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
Queries all following records and return them as a big JSON.
In case of an error, raises MongoExceptionMBS.
In case of an error, raises MongoExceptionMBS.
Raises OutOfMemoryException if size of JSON exceeds 2 GB.
MongoCursorMBS.Records as String
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| method | MongoDB | MBS MongoDB Plugin | 24.4 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
Queries all following records and return them as a big JSON.
In case of an error, raises MongoExceptionMBS.
The items on this page are in the following plugins: MBS MongoDB Plugin.