MONGOC_BULKWRI..._INSERTEDCOUNT(3)

✨ MONGOC_BULKWRI..._INSERTEDCOUNT(3) ✨

okay bestie, welcome to the libmongoc corner of the internet πŸ’– this one's a tiny little page with exactly one job, and honestly? she ate. no cap.


🌸 NAME 🌸

mongoc_bulkwriteresult_insertedcount β€” your girl tells you how many docs got inserted. that's it. that's the whole vibe. πŸŽ€


πŸ¦‹ SYNOPSIS πŸ¦‹

int64_t
mongoc_bulkwriteresult_insertedcount (const mongoc_bulkwriteresult_t *self);

✨ DESCRIPTION ✨

Okay so picture this: you hit a bulk write, right? lots of stuff happening, insert operations everywhere, chaos, main character energy πŸ”₯ and now you need The Number.

This function returns the total number of documents inserted across all insert operations. all of them. every single insert in the whole bulk write, added up. one tidy int64_t, zero drama, we love to see it πŸ’…

ngl it's giving "let me just give you the receipt" and honestly that's iconic.


πŸ‘‘ AUTHOR πŸ‘‘

MongoDB, Inc β€” yes, that MongoDB. the whole company. authors of the function, authors of the vibe. 🫢


2009-present, MongoDB, Inc.


lowkey important reminder: it's const mongoc_bulkwriteresult_t *self β€” you're just reading the result, not changing it. respectful. observant. a queen. πŸ‘‘

and that's the whole page bestie, no notes 🧚 this was libmongoc 2.5.6, dated Oct 09 β€” now go insert some documents and get that count, periodt πŸ’–πŸŒˆβ­

πŸ“¦ where this page comes from