mongoc_bulkwriteresult_insertresults(3)

mongoc_bulkwriteresult_insertresults3

Usage

const bson_t *
mongoc_bulkwriteresult_insertresults (const mongoc_bulkwriteresult_t *self);

Overview

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

{
  "0" : { "insertedId" : "foo" },
  "1" : { "insertedId" : "bar" }
}

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

Author

MongoDB, Inc

From libmongoc-doc 1.30.4-1+deb13u3 in Debian 13 (Trixie). Parsed by carta from the page's man source.