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. π«Ά
π COPYRIGHT π
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
- 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