MONGOC_CLIENT_GET_READ_PREFS(3)
π MONGOC_CLIENT_GET_READ_PREFS(3) π
okay bestie, welcome to the libmongoc manual π
this one is all about grabbing the default read prefs off a client, and itβs honestly pretty chill. no cap.
β¨ SYNOPSIS β¨
const mongoc_read_prefs_t *
mongoc_client_get_read_prefs (const mongoc_client_t *client);
so hereβs the tea β: this function retrieves the default read preferences configured for the client instance. and bestie, listen β the result should not be modified or freed. like, do not touch it, do not free it, just let it live its life π«Ά
π PARAMETERS π
clientβ amongoc_client_t. thatβs the client youβre pulling the default read prefs from, periodt.
πΈ RETURNS πΈ
A mongoc_read_prefs_t β¨ and remember the vibe check: the result should not be modified or freed.
π AUTHOR π
MongoDB, Inc
π COPYRIGHT π
2009-present, MongoDB, Inc.
mwah π thatβs the whole page, bestie. this one comes from libmongoc version 2.5.6, dated Oct 09, 2026 π¦β¨
π¦ 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