MONGOC_BULK_OP...ION_REMOVE_ONE(3)
π
mongoc_bulk_operation_remove_one π
okay so this is from the libmongoc manual, and it's giving βqueue up a single deleteβ energy. β¨
π SYNOPSIS
void
mongoc_bulk_operation_remove_one (mongoc_bulk_operation_t *bulk,
const bson_t *selector);
Remove a single document as part of a bulk operation. This only queues the operation. To actually execute it, call mongoc_bulk_operation_execute(). π₯
This function is superseded by mongoc_bulk_operation_remove_one_with_opts(). iykyk β the newer one is the main character here.
π PARAMETERS
bulkβ amongoc_bulk_operation_t. that's the bulk-op handle, bestie.selectorβ abson_tthat selects which document to remove. it's literally the βwhich one?β vibe check.
π ERRORS
Errors are propagated via mongoc_bulk_operation_execute(). so don't expect this call alone to spill the tea about failures β execution is where it shows up. π
π SEE ALSO
mongoc_bulk_operation_remove_one_with_opts()mongoc_bulk_operation_remove_many_with_opts()
π AUTHOR
MongoDB, Inc
π COPYRIGHT
2009-present, MongoDB, Inc.
From libmongoc version 2.5.6, dated Oct 09, 202 β slay, and happy bulk deleting πβ¨π¦
π¦ 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