Provided by: libmongoc-doc_1.30.2-1_all 

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().
AUTHOR
MongoDB, Inc
COPYRIGHT
2009-present, MongoDB, Inc. 1.30.2 Mar 05, 2025 MONGOC_TRANSACTION_OPTS_CLONE(3)