MONGOC_WRITE_C...S_ACKNOWLEDGED(3)

🌸 MONGOC_WRITE_C...S_ACKNOWLEDGED(3) 🌸

okay so bestie, this one is from the libmongoc manual, and it's literally the vibe check for whether a write concern is acknowledged or not πŸ’…βœ¨

✨ SYNOPSIS ✨

bool
mongoc_write_concern_is_acknowledged (
   const mongoc_write_concern_t *write_concern);

πŸŽ€ PARAMETERS πŸŽ€

  • write_concern β€” a mongoc_write_concern_t. that's the little guy we're checking 🫢

πŸ’– DESCRIPTION πŸ’–

Test if this is an acknowledged or unacknowledged write concern. no cap, that's the whole mission 🎯

If write_concern is NULL, returns true. (In other words, writes are acknowledged by default.) so yeah, the default is giving "yes, I'm acknowledged" energy πŸ‘‘

🌈 AUTHOR 🌈

MongoDB, Inc

2009-present, MongoDB, Inc.


πŸ’œ cute little sign-off moment: this page is from libmongoc version 2.5.6, dated Oct 09, 202, and honestly?? iconic. periodt πŸ§šβ€β™€οΈπŸŽ€

πŸ“¦ where this page comes from