mongoc_transaction_opts_clone - Man Page

mongoc_transaction_opts_clone()

Synopsis

mongoc_transaction_opt_t *
mongoc_transaction_opts_clone (const mongoc_transaction_opt_t *opts)
   BSON_GNUC_WARN_UNUSED_RESULT;

Create a copy of a transaction options struct.

Parameters

Returns

A new mongoc_transaction_opt_t that must be freed with mongoc_transaction_opts_destroy().

Author

MongoDB, Inc

Info

Jan 06, 2022 1.20.1 libmongoc