mongoc_transaction_opts_get_read_concern

Synopsis

const mongoc_read_concern_t *
mongoc_transaction_opts_get_read_concern (const mongoc_transaction_opt_t *opts);

Return the transaction options' mongoc_read_concern_t <>. See mongoc_transaction_opts_set_read_concern() <>.

Parameters

Returns

A mongoc_read_concern_t <> that is valid only for the lifetime of opts.

Author

MongoDB, Inc

Info

Jan 27, 2026 1.30.6 libmongoc