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
Creates a copy of a cursor.

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
The private constructor.

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
Checks to see if an error has occurred while iterating the cursor.

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
Queries the next record as JSON.

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.


The biggest plugin in space...