MONGOC_READ_CONCERN_APPEND(3)
π MONGOC_READ_CONCERN_APPEND π
okay bestie, so this is the libmongoc page for mongoc_read_concern_append β yes the name is a whole mouthful, iykyk, but it's actually so simple it's kind of iconic β¨
πΈ SYNOPSIS πΈ
bool
mongoc_read_concern_append (mongoc_read_concern_t *read_concern, bson_t *opts);
π PARAMETERS π
read_concernβ a pointer to amongoc_read_concern_t. that's the read concern you're carrying around like your emotional support struct π«Άcommandβ a pointer to abson_t. literally just the doc, no cap.
π¦ DESCRIPTION π¦
so what does it do? it appends a read concern to your command options. that's it. that's the whole vibe β¨
the way this is useful: you attach the read concern to your command options first, and then you pass those options along to mongoc_client_read_command_with_opts() (or honestly any related function that takes an options document) β and it just works. main character energy for real π
β RETURNS β
returns true on success. slay π
but if any arguments are invalid, it returns false and logs an error. so if you get false back, check your args, bestie β the function already told on you in the logs π
π EXAMPLE π
not gonna lie, there's no code block here β just go see the example code for mongoc_client_read_command_with_opts(). it's right there waiting for you, go look π§
π AUTHOR π
MongoDB, Inc β the icons behind it all π
π COPYRIGHT π
2009-present, MongoDB, Inc. β periodt.
ok that's the whole page, you ate that π«Ά now go append some read concerns and be free π¦
mwah, this was libmongoc version 2.5.6, dated Oct 09, 2026 β see you in the next manpage, bestie πβ¨
π¦ 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