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 Errors are propagated via mongoc_bulk_operation_execute().
29
30 SEE ALSO:
31 mongoc_bulk_operation_remove_one_with_opts()
32
33 mongoc_bulk_operation_remove_many_with_opts()
34
35
37 MongoDB, Inc
38
40 2017-present, MongoDB, Inc
41
42
43
44
451.20.0 Nov 18, 202M1ONGOC_BULK_OPERATION_DELETE_ONE(3)