mongoc_bulkwritereturn_t(3)

mongoc_bulkwritereturn_t3

Usage

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;

Overview

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

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