MONGOC_CURSOR_NEW_FROM_COMMAND_REPLY_WITH_OPTS - Online Linux Manual PageSection : 3
Updated : Feb 04, 2021
Source : 1.17.4
Note : libmongoc
NAMEmongoc_cursor_new_from_command_reply_with_opts − mongoc_cursor_new_from_command_reply_with_opts()
SYNOPSIS mongoc_cursor_t *
mongoc_cursor_new_from_command_reply_with_opts (mongoc_client_t *client,
bson_t *reply,
const bson_t *opts);
PARAMETERS • client: A mongoc_client_t. • reply: The reply to a command, such as "aggregate", "find", or "listCollections", that returns a cursor document. The reply is destroyed by mongoc_cursor_new_from_command_reply_with_opts and must not be accessed afterward. • opts: A bson_t. opts may be NULL or a BSON document with additional options, which have the same meaning for this function as for mongoc_collection_find_with_opts: • awaitData • batchSize • limit • maxAwaitTimeMS • serverId • sessionId • skip • tailable
DESCRIPTIONSome MongoDB commands return a "cursor" document. For example, given an "aggregate" command: { "aggregate" : "collection", "pipeline" : [], "cursor" : {}}
The server replies: {
"cursor" : {
"id" : 1234,
"ns" : "db.collection",
"firstBatch" : [ ]
},
"ok" : 1
}
mongoc_cursor_new_from_command_reply_with_opts is a low−level function that initializes a mongoc_cursor_t from such a reply. Use this function only for building a language driver that wraps the C Driver. When writing applications in C, higher−level functions such as mongoc_collection_aggregate are more appropriate, and ensure compatibility with a range of MongoDB versions.
RETURNSA mongoc_cursor_t. On failure, the cursor's error is set. Check for failure with mongoc_cursor_error.
AUTHORMongoDB, Inc
COPYRIGHT2017-present, MongoDB, Inc 0
Johanes Gumabo
Data Size : 12,050 byte
man-mongoc_cursor_new_from_command_reply_with_opts.3Build : 2024-12-05, 20:55 :
Visitor Screen : x
Visitor Counter ( page / site ) : 3 / 181,155
Visitor ID : :
Visitor IP : 18.227.46.202 :
Visitor Provider : AMAZON-02 :
Provider Position ( lat x lon ) : 39.962500 x -83.006100 : x
Provider Accuracy Radius ( km ) : 1000 :
Provider City : Columbus :
Provider Province : Ohio , : ,
Provider Country : United States :
Provider Continent : North America :
Visitor Recorder : Version :
Visitor Recorder : Library :
Online Linux Manual Page : Version : Online Linux Manual Page - Fedora.40 - march=x86-64 - mtune=generic - 24.12.05
Online Linux Manual Page : Library : lib_c - 24.10.03 - march=x86-64 - mtune=generic - Fedora.40
Online Linux Manual Page : Library : lib_m - 24.10.03 - march=x86-64 - mtune=generic - Fedora.40
Data Base : Version : Online Linux Manual Page Database - 24.04.13 - march=x86-64 - mtune=generic - fedora-38
Data Base : Library : lib_c - 23.02.07 - march=x86-64 - mtune=generic - fedora.36
Very long time ago, I have the best tutor, Wenzel Svojanovsky . If someone knows the email address of Wenzel Svojanovsky , please send an email to johanes_gumabo@yahoo.co.id .
If error, please print screen and send to johanes_gumabo@yahoo.co.id
Under development. Support me via PayPal.