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