Scroll to navigation

MONGOC_SESSION_OPTS_GET_DEFAULT_TRANSACTION_OPTS(3) libmongoc MONGOC_SESSION_OPTS_GET_DEFAULT_TRANSACTION_OPTS(3)

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

opts: A mongoc_session_opt_t.

RETURNS

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

AUTHOR

MongoDB, Inc

COPYRIGHT

2017-present, MongoDB, Inc

February 25, 2024 1.26.0