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

2009-present, MongoDB, Inc.

November 26, 2025 2.2.0