MONGOC_BULKWRI...T_ARRAYFILTERS(3)
πΈ MONGOC_BULKWRITE_UPDATEMANYOPTS_SET_ARRAYFILTERS π
okay bestie, welcome to the libmongoc manual, this one's about a function name so long it needs its own zip code π the header up top truncates it to MONGOC_BULKWRI...T_ARRAYFILTERS(3) but you and me? we're gonna say the whole thing. periodt.
β¨ SYNOPSIS β¨
void
mongoc_bulkwrite_updatemanyopts_set_arrayfilters (mongoc_bulkwrite_updatemanyopts_t *self, const bson_t *arrayfilters);
that's it. that's the whole vibe check. it returns void β no return value, no drama, she just does the thing π«Ά
π DESCRIPTION π
okay so here's the tea: this function sets a set of filters specifying to which array elements an update should apply. π¦
that's literally the whole description, no cap. so if you've got a mongoc_bulkwrite_updatemanyopts_t * (that's self, your main character π) and a bson_t * of filters (that's arrayfilters, the supporting cast β¨), you hand them over and she sets them. done. iconic.
let's break the two of them down so nobody gets lost:
selfβ amongoc_bulkwrite_updatemanyopts_t *, aka the update-many options object you're decorating πarrayfiltersβ aconst bson_t *, the set of filters saying which array elements the update applies to π
ngl, the manpage gives us exactly one sentence of lore here, so we're not gonna invent backstory. what you see is what you get, fr fr π
π AUTHOR π
MongoDB, Inc π
π COPYRIGHT π
2009-present, MongoDB, Inc. π«Ά
and that's a wrap, bestie! this page came from libmongoc version 2.5.6, dated Oct 09, 202... (the year got ate by the footer, we love a mysterious queen πβ¨). slay, go set some array filters π
π¦ 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