1MONGOC_BULK_OPERATION_DELETE(3) libmongoc MONGOC_BULK_OPERATION_DELETE(3)
2
3
4
6 mongoc_bulk_operation_delete - mongoc_bulk_operation_delete()
7
9 void
10 mongoc_bulk_operation_delete (mongoc_bulk_operation_t *bulk,
11 const bson_t *selector);
12
13 Deletes documents as part of a bulk operation. This only queues the op‐
14 eration. To execute it, call mongoc_bulk_operation_execute().
15
17 WARNING:
18 This function is deprecated and should not be used in new code.
19
20 Please use mongoc_bulk_operation_remove() instead.
21
23 • bulk: A mongoc_bulk_operation_t.
24
25 • selector: A bson_t.
26
28 Errors are propagated via mongoc_bulk_operation_execute().
29
30 SEE ALSO:
31 mongoc_bulk_operation_remove_many_with_opts()
32
33 mongoc_bulk_operation_remove_one_with_opts()
34
35
37 MongoDB, Inc
38
40 2017-present, MongoDB, Inc
41
42
43
44
451.20.0 Nov 18, 2021 MONGOC_BULK_OPERATION_DELETE(3)