mongoc_transaction_opts_get_write_concern()

Synopsis

const mongoc_write_concern_t *
mongoc_transaction_opts_get_write_concern (const mongoc_transaction_opt_t *opts);

Return the transaction options’ mongoc_write_concern_t. The returned value is valid only for the lifetime of opts. See mongoc_transaction_opts_set_write_concern().