Scroll to navigation

MONGOC_SESSION_OPTS_GET_DEFAULT_TRANSACTION_OPTS(3) libmongoc MONGOC_SESSION_OPTS_GET_DEFAULT_TRANSACTION_OPTS(3)

NAME

mongoc_session_opts_get_default_transaction_opts - 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

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

August 31, 2022 1.23.0