Risk-Aware AI Code Review for Business-Critical Systems
LiveReview LiveReview Explore LiveReview

const bson_t *

Author

       MongoDB, Inc

Description

       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().

Synopsis

          const bson_t *
          mongoc_bulkwriteresult_insertresults (const mongoc_bulkwriteresult_t *self);

See Also