MONGOC_READ_PREFS_GET_MODE(3)
π MONGOC_READ_PREFS_GET_MODE π
okay bestie, welcome to the libmongoc manual page for MONGOC_READ_PREFS_GET_MODE(3) β yes the title is screaming at you in all caps, that's just how man pages are, they're dramatic like that π
β¨ SYNOPSIS β¨
mongoc_read_mode_t
mongoc_read_prefs_get_mode (const mongoc_read_prefs_t *read_prefs);
like, that's the whole thing. one function. she's small but she's important π«Ά
πΈ PARAMETERS πΈ
read_prefsβ amongoc_read_prefs_t. that's it. that's the whole parameter list. she takes one (1) read prefs struct and she takes it withconstenergy so don't even think about mutating her π
π¦ DESCRIPTION π¦
so what does she actually do? she fetches the mongoc_read_mode_t for the read preference. that's the vibe. you hand her your read prefs, she hands back the mode. lowkey the simplest little getter in the whole library and honestly? iconic π
β RETURNS β
she returns the read preference mode. that's the mongoc_read_mode_t, in case you were wondering, which you probably were because we literally just said it. no cap π₯
π AUTHOR π
MongoDB, Inc β the main characters themselves π§
π COPYRIGHT π
2009-present, MongoDB, Inc. β protect the copyright, periodt π
and that's the page bestie!! π version 2.5.6, dated Oct 09, 2026, straight from the libmongoc girlies. mwah, go get that read mode ππ¦β¨
π¦ 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