mongoc_session_opts_get_default_transaction_opts()

Synopsis

const mongoc_transaction_opt_t *
mongoc_session_opts_get_default_transaction_opts (const mongoc_session_opt_t *opts);

The default options for transactions started with this session. See mongoc_session_opts_set_default_transaction_opts().

Parameters

Returns

A mongoc_transaction_opt_t that is valid only for the lifetime of opts.