MONGOC_DATABAS...T_READ_CONCERN(3)

πŸ’… MONGOC_DATABAS...T_READ_CONCERN(3) πŸ’…

okay so bestie, welcome to libmongoc β€” yes the whole manual name, we're saying it, we're owning it. this one is a tiny little page and honestly it's giving "short but iconic" energy. let's go 🫢


✨ SYNOPSIS ✨

const mongoc_read_concern_t *
mongoc_database_get_read_concern (const mongoc_database_t *database);

so what does this little cutie actually do? it retrieves the default mongoc_read_concern_t to use with database β€” the one that's already been configured by the client. that's it. that's the whole vibe. no cap. πŸŽ€

🌸 PARAMETERS 🌸

  • database β€” a mongoc_database_t. that's the whole parameter list, she's low maintenance πŸ’…

⭐ RETURNS ⭐

you get back a mongoc_read_concern_t β€” and this is the important part, bestie, listen up πŸ‘‘ β€” that thing should not be modified or freed. it's not yours, it's not a gift, it's a borrow. treat it like your friend's charger: use it, give it back, don't keep it. 🧚

fr fr do not free() this. do not poke at it. it's the client's, not yours. πŸ™ˆ

πŸ’œ AUTHOR πŸ’œ

MongoDB, Inc β€” the icons themselves πŸ†

2009-present, MongoDB, Inc. β€” like, all rights reserved, respectfully. πŸ’–


and that's the page!! short, sweet, slayed. sign-off time: this was libmongoc version 2.5.6, dated Oct 09, 202… (the footer year got a little chopped, don't come for me 😭), and yes it's the same MONGOC_DATABAS...T_READ_CONCERN(3) girlie you started with. bye bestie, go read some concerns πŸ¦‹βœ¨

πŸ“¦ where this page comes from