Man page - mongoc_bulkwriteresult_updateresults(3)

Packages contas this manual

Manual

MONGOC_BULKWRITERESULT_UPDATERESULTS(3) libmongoc MONGOC_BULKWRITERESULT_UPDATERESULTS(3)

const bson_t *
mongoc_bulkwriteresult_updateresults (const mongoc_bulkwriteresult_t *self);


Returns the results of each individual update operation that was successfully performed. Example:

{

"0" : { "matchedCount" : 2, "modifiedCount" : 2 },
"1" : { "matchedCount" : 1, "modifiedCount" : 0, "upsertedId" : "foo" } }


Returns NULL if verbose results were not requested. Request verbose results with mongoc_bulkwriteopts_set_verboseresults().

MongoDB, Inc

2009-present, MongoDB, Inc.

December 18, 2025 1.30.4