Provided by: libmongoc-doc_2.2.1-1_all 

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
2009-present, MongoDB, Inc.
2.2.1 Dec 11, 2025 MONGOC_TRANSACTION_OPTS_GET_WRITE_CONCERN(3)