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.
The items on this page are in the following plugins: MBS MongoDB Plugin.