DOKK / manpages / debian 13 / libmongoc-doc / mongoc_bulkwritereturn_t.3.en
MONGOC_BULKWRITERETURN_T(3) libmongoc MONGOC_BULKWRITERETURN_T(3)

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;


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

MongoDB, Inc

2009-present, MongoDB, Inc.

May 7, 2025 1.30.4