mongoc_transaction_opts_new - Man Page

Synopsis

mongoc_transaction_opt_t *
mongoc_transaction_opts_new (void);

Create a mongoc_transaction_opt_t <> to configure multi-document transactions.

Returns

A new mongoc_transaction_opt_t <> that must be freed with mongoc_transaction_opts_destroy() <>.

Author

MongoDB, Inc

Info

Mar 04, 2026 2.2.3 libmongoc