MONGOC_BULK_OPERATION_GET_LET(3)

πŸ“¦
version 2.5.6 Β· 2 versions
, in epel 10

πŸ’… MONGOC_BULK_OPERATION_GET_LET(3) πŸ’…

okay so bestie, welcome to the libmongoc corner of the manual, this one's MONGOC_BULK_OPERATION_GET_LET and honestly? it's a little one-trick pony but the trick is lowkey cute. let's get into it πŸŽ€


✨ SYNOPSIS ✨

const bson_t*
mongoc_bulk_operation_get_let (const mongoc_bulk_operation_t *bulk);

that's the whole signature, that's the vibe, no cap 🫢


🌸 PARAMETERS 🌸

  • bulk β€” a mongoc_bulk_operation_t. that's it. that's the whole list. literally just the one (1) bulk operation, the main character of this page πŸ‘‘

πŸ¦‹ DESCRIPTION πŸ¦‹

so what does this actually do, you ask? it retrieves a bson_t document, and that document is made up of any number of parameter names β€” each one followed by definitions of constants, written in the MQL Aggregate Expression language. iykyk ✨

and the slay part? those constants can be accessed by all the update, replace, and delete operations that get executed as part of this bulk. every single one of them. it's giving communal snack table energy fr fr πŸ“


πŸ”₯ RETURNS πŸ”₯

you get back a bson_t β€” and here's the important bit bestie, listen up β€” it should not be modified or freed. do not touch. do not free. hands off. it's not yours to mess with πŸ˜­πŸ™ˆ


πŸ‘‘ AUTHOR πŸ‘‘

MongoDB, Inc β€” yes the whole company, they all pitched in πŸ’œ


2009-present, MongoDB, Inc.


and that's the page!! go forth and let your bulk operations know their constants, bestie 🌈🧚

mwah πŸ’‹ β€” this has been libmongoc version 2.5.6, dated Oct 09, 2026, signing off from the MONGOC_BULK_OPERATION_GET_LET(3) page πŸŽ€πŸ’–

πŸ“¦ where this page comes from