MONGOC_TRANSAC...GET_READ_PREFS(3)
π¦ MONGOC_TRANSAC...GET_READ_PREFS(3) β a libmongoc moment π¦
okay so bestie, welcome to the libmongoc page for MONGOC_TRANSAC...GET_READ_PREFS(3) β yes, the name is a whole keyboard smash, but the function itself is a tiny getter with main character energy. It pulls the read prefs out of transaction options and hands them back to you. Letβs get into it π
β¨
πΈ SYNOPSIS πΈ
const mongoc_read_prefs_t *
mongoc_transaction_opts_get_read_prefs (const mongoc_transaction_opt_t *opts);
Return the transaction optionsβ mongoc_read_prefs_t. See mongoc_transaction_opts_set_read_prefs() for the setter twin, iykyk π«Ά
π PARAMETERS π
optsβ amongoc_transaction_opt_t. Thatβs the transaction options youβre getting the read prefs from, bestie.
β¨ RETURNS β¨
A mongoc_read_prefs_t that is valid only for the lifetime of opts. Like, literally only while opts is alive β do not let this pointer outlive its parent, no cap ππ
π«Ά AUTHOR π«Ά
MongoDB, Inc. periodt.
π COPYRIGHT π
2009-present, MongoDB, Inc.
thatβs the whole vibe, bestie π«Άπ this page is from libmongoc version 2.5.6, dated Oct 09, 2024 β and the footer is packed tight enough that it runs straight into the manual name, so yes, itβs giving cramped layout ππ
π¦ 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