table of contents
| MONGOC_TRANSACTION_OPTS_CLONE(3) | libmongoc | MONGOC_TRANSACTION_OPTS_CLONE(3) |
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.
| November 26, 2025 | 2.2.0 |