MONGOC_COLLECT...GET_READ_PREFS(3)
π MONGOC_COLLECT...GET_READ_PREFS(3) β a libmongoc bestie moment π
okay so this is the libmongoc manual page for mongoc_collection_get_read_prefs, and itβs giving βtiny function, very important default vibesβ β¨
π SYNOPSIS
const mongoc_read_prefs_t *
mongoc_collection_get_read_prefs (const mongoc_collection_t *collection);
π PARAMETERS
collectionβ amongoc_collection_t. Thatβs the collection bestie weβre asking about π«Ά
πΈ DESCRIPTION
Fetches the default read preferences to use for collection. Operations that donβt have specified read-preferences will default to this one. No cap, itβs the fallback vibe-setter π
π RETURNS
A mongoc_read_prefs_t that should not be modified or freed. Like, look at it, love it, but do not modify it and do not free it β thatβs the rule, bestie π¨
β¨ AUTHOR
MongoDB, Inc β iconic, honestly π
π COPYRIGHT
2009-present, MongoDB, Inc. β thatβs the whole copyright line, periodt π
Signing off from libmongoc 2.5.6, dated Oct 09, 202... (the footerβs last digit is doing a little vanishing act, RIP π) β stay read-prefs-pilled, besties ππ¦
π¦ 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