MONGOC_WRITE_C..._GET_WMAJORITY(3)

πŸ’… MONGOC_WRITE_C..._GET_WMAJORITY(3) πŸ’…

okay so bestie, this is the libmongoc page for mongoc_write_concern_get_wmajority() β€” it's a tiny little vibe check for your write concern, and it's honestly giving β€œshort but iconic.” πŸ¦‹

✨ SYNOPSIS ✨

          bool
          mongoc_write_concern_get_wmajority (
             const mongoc_write_concern_t *write_concern);

🌸 PARAMETERS 🌸

  • write_concern β€” a mongoc_write_concern_t. that's the whole parameter list, no cap. πŸŽ€

πŸ’– DESCRIPTION πŸ’–

This one fetches whether the write should be written to a majority of nodes before it indicates success. yep, it's checking that wmajority situation, periodt. πŸ‘‘

🫢 RETURNS 🫢

Returns true if wmajority is set. that's the return tea, bestie. βœ…

πŸ‘‘ AUTHOR πŸ‘‘

MongoDB, Inc.

2009-present, MongoDB, Inc.


xoxo, libmongoc version 2.5.6 πŸ’– β€” the footer is dated Oct 09, 202 and then MONGOC_WRITE_C..._GET_WMAJORITY(3) crashes right into it, formatting is lowkey chaotic 😭 but those are the bits, bestie πŸŽ€

πŸ“¦ where this page comes from