Components All New MacOS Windows Linux iOS
Examples Mac & Win Server Client Guides Statistic FMM Blog Deprecated Old

MongoDB.NewCursorFromCommandReply

Creates a cursor object from the reply of a command.

Component Version macOS Windows Linux Server iOS SDK
MongoDB 12.4 ✅ Yes ✅ Yes ✅ Yes ✅ Yes ✅ Yes
MBS( "MongoDB.NewCursorFromCommandReply"; MongoDBRef; commandReplyJSON { ; OptionsJSON } )   More

Parameters

Parameter Description Example Flags
MongoDBRef The reference number for the mongo connection. $MongoDB
commandReplyJSON The reply to a command, such as “aggregate”, “find”, or “listCollections”, that returns a cursor document.
OptionsJSON Additioanl options.
See MongoDB documentation.
Optional

Result

Returns OK or error.

Description

Creates a cursor object from the reply of a command.
Some MongoDB commands return a “cursor” document.

Release notes

Blog Entries

This function checks for a license.

Created 17th July 2022, last changed 17th July 2022


MongoDB.New - MongoDB.NextChange