mongoc_transaction_opts_clone()#
Synopsis#
mongoc_transaction_opt_t *
mongoc_transaction_opts_clone (const mongoc_transaction_opt_t *opts);
Create a copy of a transaction options struct.
Parameters#
opts
: A mongoc_transaction_opt_t.
Returns#
A new mongoc_transaction_opt_t that must be freed with mongoc_transaction_opts_destroy().
See also