MONGOC_READ_PREFS_ADD_TAG(3)

πŸŽ€ mongoc_read_prefs_add_tag πŸŽ€

okay bestie, welcome to libmongoc β€” yes, the manual page is literally called MONGOC_READ_PREFS_ADD_TAG(3) and it's short, sweet, and honestly kinda iconic in its minimalism. let's get into it πŸ’…


✨ SYNOPSIS ✨

void
mongoc_read_prefs_add_tag (mongoc_read_prefs_t *read_prefs, const bson_t *tag);

that's the whole thing, no cap. she takes two args and returns void β€” literally gives nothing back, main character energy only 🫢


🌸 PARAMETERS 🌸

  • read_prefs β€” a mongoc_read_prefs_t. yes that's the type and the vibe. she's the read preference you're decorating ✨
  • tag β€” a bson_t. this is the tag being added. keep it exactly as bson_t, don't @ me πŸ’–

πŸ¦‹ DESCRIPTION πŸ¦‹

okay so here's the tea: this function shall add a tag to a read preference. that's it. that's the whole description fr fr. one tag in, goes onto read_prefs, done. slay πŸ’…


πŸ‘‘ AUTHOR πŸ‘‘

MongoDB, Inc β€” the founders, the icons, the moment 🌈


2009-present, MongoDB, Inc. β€” long-running, still relevant, we love to see it πŸŽ€


and that's the whole page, bestie! version 2.5.6, dated Oct 09, 2026 β€” screenshot it, cite it, live ur truth πŸ’–βœ¨πŸ¦‹

πŸ“¦ where this page comes from