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. See mongoc_transaction_opts_set_write_concern().
Parameters
- opts: A mongoc_transaction_opt_t.
Returns
A mongoc_write_concern_t that is valid only for the lifetime of opts.
Author
MongoDB, Inc
Copyright
2017-present, MongoDB, Inc
Info
Nov 08, 2023 1.25.1 libmongoc