1MONGOC_BULK_OPERATION_REMOVE_ONE(3)libmongocMONGOC_BULK_OPERATION_REMOVE_ONE(3)
2
3
4
6 mongoc_bulk_operation_remove_one - mongoc_bulk_operation_remove_one()
7
9 void
10 mongoc_bulk_operation_remove_one (mongoc_bulk_operation_t *bulk,
11 const bson_t *selector);
12
13 Remove a single document as part of a bulk operation. This only queues
14 the operation. To execute it, call mongoc_bulk_operation_execute().
15
16 This function is superseded by mongoc_bulk_operation_re‐
17 move_one_with_opts().
18
20 • bulk: A mongoc_bulk_operation_t.
21
22 • selector: A bson_t that selects which document to remove.
23
25 Errors are propagated via mongoc_bulk_operation_execute().
26
27 SEE ALSO:
28 mongoc_bulk_operation_remove_one_with_opts()
29
30 mongoc_bulk_operation_remove_many_with_opts()
31
32
34 MongoDB, Inc
35
37 2017-present, MongoDB, Inc
38
39
40
41
421.20.0 Nov 18, 202M1ONGOC_BULK_OPERATION_REMOVE_ONE(3)