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. The struct must be freed with mongoc_transaction_opts_destroy().