Scroll to navigation

MONGOC_BULKWRITERETURN_T(3) libmongoc MONGOC_BULKWRITERETURN_T(3)

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

Copyright

2009-present, MongoDB, Inc.

December 11, 2025 2.2.1