1MONGOC_BULK_OPERATION_DELETE_ONE(3)libmongocMONGOC_BULK_OPERATION_DELETE_ONE(3)
2
3
4
6 mongoc_bulk_operation_delete_one - mongoc_bulk_operation_delete_one()
7
9 void
10 mongoc_bulk_operation_delete_one (mongoc_bulk_operation_t *bulk,
11 const bson_t *selector);
12
13 Delete a single document as part of a bulk operation. This only queues
14 the 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_one() instead.
21
23 · bulk: A mongoc_bulk_operation_t.
24
25 · selector: A bson_t.
26
28 mongoc_bulk_operation_remove_one_with_opts()
29
30 mongoc_bulk_operation_remove_many_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, 202M1ONGOC_BULK_OPERATION_DELETE_ONE(3)