MONGOC_BULKWRI...END_UPDATEMANY(3)

okay so bestie, this is the MONGOC_BULKWRI...END_UPDATEMANY(3) page from libmongoc, and it is giving tiny-but-iconic API reference πŸ’…βœ¨

🌸 SYNOPSIS 🌸

          bool
          mongoc_bulkwrite_append_updatemany (mongoc_bulkwrite_t *self,
                                              const char *ns,
                                              const bson_t *filter,
                                              const bson_t *update,
                                              const mongoc_bulkwrite_updatemanyopts_t *opts /* May be NULL */,
                                              bson_error_t *error);

πŸŽ€ DESCRIPTION πŸŽ€

okay so mongoc_bulkwrite_append_updatemany() adds a multi-document update for the namespace ns πŸ¦‹. It returns true on success. If an error happened, it returns false and sets error 😭.

also the signature literally says opts /* May be NULL */, so yes bestie, that options pointer is allowed to be NULL β€” noted 🫢.

πŸ‘‘ AUTHOR πŸ‘‘

MongoDB, Inc

2009-present, MongoDB, Inc.


xoxo, your libmongoc bestie πŸ’– β€” this page is version 2.5.6, dated Oct 09, 202 (the footer date runs right into MONGOC_BULKWRI...END_UPDATEMANY(3) and gets cut off, no cap 😭), brought to you by MongoDB, Inc πŸ’…

πŸ“¦ where this page comes from