MONGOC_BULKWRI..._UPSERTEDCOUNT(3)

πŸ’… NAME πŸ’…

mongoc_bulkwriteresult_upsertedcount β€” the libmongoc bestie that tells you how many documents got upserted, across all the update operations, no cap ✨


🌸 SYNOPSIS 🌸

int64_t
mongoc_bulkwriteresult_upsertedcount (const mongoc_bulkwriteresult_t *self);

πŸŽ€ DESCRIPTION πŸŽ€

Okay so picture this: you've got a bulk write result, right? And you're like, "bestie, how many documents got upserted across literally every update operation in here?" πŸ’–

That's the whole gig. This function returns the total number of documents upserted across all update operations β€” one number, an int64_t, done. 🫢

It takes const mongoc_bulkwriteresult_t *self, so you hand it the result you're curious about and it does not touch it, because it's a well-behaved icon. πŸ‘‘


πŸ‘‘ AUTHOR πŸ‘‘

MongoDB, Inc β€” the main characters who wrote this fr fr πŸ’œ


2009-present, MongoDB, Inc.


that's the whole page, short and sweet, and yes she ate πŸ’…

catch you later β€” this was libmongoc 2.5.6, dated Oct 09, and it's giving iconic reference material πŸ¦‹βœ¨

πŸ“¦ where this page comes from