Topics   All   MacOS (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server   Client   Old   Deprecated   Guides   Examples   Videos
New in version: 11.1   11.2   11.3   11.4   11.5   12.0   12.1   12.2   12.3   12.4    Statistic    FMM    Blog  

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

  • Version 12.4
    • Added MongoDB.CursorErrorDocument and MongoDB.NewCursorFromCommandReply functions.

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


MongoDB.New - MongoDB.OpenCollection

Feedback: Report problem or ask question.


Start Chat