mongoc_transaction_opts_set_write_concern

mongoc_transaction_opts_set_write_concern()

Synopsis

void
mongoc_transaction_opts_set_write_concern (mongoc_transaction_opt_t *opts,
                                           const mongoc_write_concern_t *write_concern);

Configure the transaction's write concern. The argument is copied into the struct and can be freed after calling this function.

Parameters

Author

MongoDB, Inc

Info

Apr 09, 2021 1.17.5 libmongoc