MONGOC_TRANSACTION_OPTS_CLONE(3)
π MONGOC_TRANSACTION_OPTS_CLONE(3) π
okay so bestie, welcome to the libmongoc girlies club β this is the page for mongoc_transaction_opts_clone, and honestly? it's giving "small but mighty." π
β¨ SYNOPSIS β¨
mongoc_transaction_opt_t *
mongoc_transaction_opts_clone (const mongoc_transaction_opt_t *opts);
Create a copy of a transaction options struct. literally that's it. it clones. she duplicates. iconic behavior only. π
πΈ PARAMETERS πΈ
optsβ Amongoc_transaction_opt_t. that's the one you're copying, bestie, hand her over π«Ά
π¦ RETURNS π¦
A new mongoc_transaction_opt_t that must be freed with mongoc_transaction_opts_destroy().
π¨ okay this part is NOT a vibe to skip: the shiny new struct you get back is yours to clean up. call mongoc_transaction_opts_destroy() on it when you're done or you're lowkey leaking. no cap. π
π AUTHOR π
MongoDB, Inc
π COPYRIGHT π
2009-present, MongoDB, Inc.
<nice>β¨πβ¨</nice>
and that's the whole page, bestie β short, sweet, ate and left absolutely no crumbs πβ¨
<nice>signing off from libmongoc version 2.5.6, dated Oct 09, 2026 β mwah ππ
</nice>
π¦ where this page comes from
- epel 10: mongo-c-driver-devel 2.5.6-1.el10_3 Β· Apache-2.0 AND ISC AND MIT AND Zlib
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms