MONGOC_DATABASE_GET_READ_PREFS(3)
π MONGOC_DATABASE_GET_READ_PREFS(3) π
okay so bestie, this one is from libmongoc, and it's giving βgrab the default read prefs for this databaseβ energy. iconic little getter, no cap.
β¨ SYNOPSIS β¨
const mongoc_read_prefs_t *
mongoc_database_get_read_prefs (const mongoc_database_t *database);
Literally fetches the default read preferences to use with database. slay.
π PARAMETERS π
databaseβ Amongoc_database_t. that's the vibe check right there π«Ά
πΈ RETURNS πΈ
A mongoc_write_concern_t that should not be modified or freed.
bestie, read that again: not modified, not freed. hands off the return value, okay? ππ
π AUTHOR π
MongoDB, Inc
π COPYRIGHT π
2009-present, MongoDB, Inc.
mwah π β from libmongoc 2.5.6, dated Oct 09, 2026. periodt π¦β¨
π¦ 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