mongoc_bulkwriteexception_writeconcernerrors

Synopsis

const bson_t *
mongoc_bulkwriteexception_writeconcernerrors (const mongoc_bulkwriteexception_t *self);

Description

Returns a BSON array of write concern errors. Example:

[
   { "code" : 123, "message" : "foo", "details" : {  } },
   { "code" : 456, "message" : "bar", "details" : {  } }
]

Returns an empty array if there are no write concern errors.

Author

MongoDB, Inc

Info

Nov 07, 2024 1.29.0 libmongoc