MONGOC_BULKWRI...END_DELETEMANY(3)

🫢 MONGOC_BULKWRI...END_DELETEMANY(3) 🫢

okay so you're in the libmongoc manual, bestie, and this page is all about mongoc_bulkwrite_append_deletemany. It's giving bulk-write delete-many energy, and we're gonna get through it together. πŸ’–

✨ SYNOPSIS ✨

here's the signature, character for character, no edits, no cap:

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

πŸ’… DESCRIPTION πŸ’…

so mongoc_bulkwrite_append_deletemany adds a multi-document delete into the namespace ns. That's the whole vibe.

It returns true on success. If an error occurred, it returns false and sets error. That's the tea. πŸ«–

the parameters are literally right there in the signature:

  • self β€” mongoc_bulkwrite_t *
  • ns β€” const char *, the namespace named ns
  • filter β€” const bson_t *
  • opts β€” const mongoc_bulkwrite_deletemanyopts_t *, and the source comment says /* May be NULL */
  • error β€” bson_error_t *

and yes, opts may be NULL β€” it's right there in the signature, bestie πŸŽ€

πŸ‘‘ AUTHOR πŸ‘‘

MongoDB, Inc

2009-present, MongoDB, Inc.


okay that's the page, periodt πŸ’…βœ¨ β€” source/version is libmongoc 2.5.6, and the footer date is Oct 09, 202 (the original footer is literally clipped and glued into the title, so that's what's printed; don't come for me about the missing digit 😭🫢).

πŸ“¦ where this page comes from