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
14 operation. 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 mongoc_bulk_operation_remove_many_with_opts()
29
30 mongoc_bulk_operation_remove_one_with_opts()
31
33 Errors are propagated via mongoc_bulk_operation_execute().
34
36 MongoDB, Inc
37
39 2017-present, MongoDB, Inc
40
41
42
43
441.17.4 Feb 04, 2021 MONGOC_BULK_OPERATION_DELETE(3)