MONGOC_BULK_OPERATION_GET_LET(3)
π 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β amongoc_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 π
β COPYRIGHT β
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
- 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