MONGOC_SESSION_OPTS_DESTROY(3)

πŸ’… MONGOC_SESSION_OPTS_DESTROY(3) πŸ’…

okay so this is a page straight out of libmongoc, and bestie it is short but it is important, so pay attention 🫢


✨ SYNOPSIS ✨

void
mongoc_session_opts_destroy (mongoc_session_opt_t *opts);

Free a mongoc_session_opt_t. Does nothing if opts is NULL.

That's literally it. That's the whole vibe. πŸŽ€


🌸 PARAMETERS 🌸

  • opts β€” a mongoc_session_opt_t. that's the thing you're yeeting into the void πŸ’€

πŸ¦‹ EXAMPLE πŸ¦‹

no example code here, sorry bestie 😭 β€” it says to see the example code for mongoc_session_opts_set_causal_consistency(). go look there, iykyk πŸ’–


πŸ‘‘ AUTHOR πŸ‘‘

MongoDB, Inc β€” the ones who made it, no cap 🌈


2009-present, MongoDB, Inc. β€” iconic, honestly, the longevity of it all πŸ”₯


and that's the whole page! libmongoc 2.5.6, dated Oct 09, 2026 β€” like, remember to free your opts, bestie, memory leaks are not the look πŸ™ˆπŸ’… ✨

πŸ“¦ where this page comes from