MONGOC_FIND_AN...PTS_GET_UPDATE(3)

πŸ’– MONGOC_FIND_AN...PTS_GET_UPDATE(3) πŸ’–

okay bestie, welcome to the libmongoc manual page for mongoc_find_and_modify_opts_get_update() β€” yes, the function name is a whole entire sentence, but we're gonna get through it together 🫢

✨ SYNOPSIS ✨

          void
          mongoc_find_and_modify_opts_get_update (
             const mongoc_find_and_modify_opts_t *opts, bson_t *update);

πŸŽ€ PARAMETERS πŸŽ€

  • opts β€” a mongoc_find_and_modify_opts_t. That's the find-and-modify options object, bestie.
  • update β€” an uninitialized bson_t. Important: uninitialized, okay? That's literally the assignment.

🌸 DESCRIPTION 🌸

So what's the tea? It copies the update document set with mongoc_find_and_modify_opts_set_update(), or it initializes update with an empty BSON document. Lowkey simple, highkey important πŸ’…

πŸ‘‘ AUTHOR πŸ‘‘

MongoDB, Inc β€” periodt.

2009-present, MongoDB, Inc.


okay that's the page, bestie πŸ’– the cute little footer says version 2.5.6 and date Oct 09, 202 (then immediately hits you with MONGOC_FIND_AN...PTS_GET_UPDATE(3) again, because footer spacing is a myth 😭), all from the libmongoc manual. slay ✨

πŸ“¦ where this page comes from