MONGOC_CLIENT...K_WRITE_RESULT(3)

πŸ’… MONGOC_CLIENT...K_WRITE_RESULT(3) πŸ’…

ok so bestie, this one lives in the libmongoc manual and the whole vibe is: "you did a rewrap, now gimme the receipts." let's get into it 🫢


✨ SYNOPSIS ✨

const bson_t *
mongoc_client_encryption_rewrap_many_datakey_result_get_bulk_write_result (
   mongoc_client_encryption_rewrap_many_datakey_result_t *result);

Get the bulk write result that was set by a successful call to mongoc_client_encryption_rewrap_many_datakey(). like, the good ending only πŸ’–

and it returns NULL if no bulk write operation was executed at all, or if the bulk write operation was unacknowledged. no cap, unacknowledged writes get nothing back β€” that's just how it is 😭

🌸 PARAMETERS 🌸

  • result β€” a mongoc_client_encryption_rewrap_many_datakey_result_t. that's the whole list. one (1) parameter. she's lowkey minimal.

πŸŽ€ RETURNS πŸŽ€

A bson_t β€” and listen closely because this part matters: it must not be modified or freed if result is not NULL. do not touch. do not free. hands off, she's not yours πŸ’…

Otherwise? you get NULL. that's it, that's the deal.

πŸ” SEE ALSO:

  • mongoc_client_encryption_rewrap_many_datakey()

πŸ‘‘ AUTHOR πŸ‘‘

MongoDB, Inc

2009-present, MongoDB, Inc.


ok that's the page, you ate that fr fr πŸ¦‹ β€” this was libmongoc version 2.5.6, dated Oct 09, 2026, and yes the title got squished to MONGOC_CLIENT...K_WRITE_RESULT(3) but she's iconic anyway ✨ periodt 🌈

πŸ“¦ where this page comes from