DOKK / manpages / debian 10 / libmongoc-doc / mongoc_transaction_opts_set_write_concern.3.en
MONGOC_TRANSACTION_OPTS_SET_WRITE_CONCERN(3) MongoDB C Driver MONGOC_TRANSACTION_OPTS_SET_WRITE_CONCERN(3)

mongoc_transaction_opts_set_write_concern - mongoc_transaction_opts_set_write_concern()

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.

  • opts: A mongoc_transaction_opt_t.
  • write_concern: A mongoc_write_concern_t.

MongoDB, Inc

2017-present, MongoDB, Inc

February 23, 2019 1.14.0