mongoc_transaction_opts_new()#

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().