mongoc_bulkwritereturn_t - Man Page

Synopsis

typedef struct {
  mongoc_bulkwriteresult_t *res;    // NULL if no known successful writes or write was unacknowledged.
  mongoc_bulkwriteexception_t *exc; // NULL if no error.
} mongoc_bulkwritereturn_t;

Description

mongoc_bulkwritereturn_t is returned by mongoc_bulkwrite_execute().

res or exc may outlive the mongoc_bulkwrite_t that was executed.

res is NULL if the mongoc_bulkwrite_t has no known successful writes or was executed with an unacknowledged write concern.

res must be freed with mongoc_bulkwriteresult_destroy().

exc is NULL if no error occurred.

exc must be freed with mongoc_bulkwriteexception_destroy().

Author

MongoDB, Inc

Info

Nov 07, 2024 1.29.0 libmongoc