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β amongoc_find_and_modify_opts_t. That's the find-and-modify options object, bestie.updateβ an uninitializedbson_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.
π COPYRIGHT π
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
- epel 10: mongo-c-driver-devel 2.5.6-1.el10_3 Β· Apache-2.0 AND ISC AND MIT AND Zlib
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms