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
8 WARNING:
9 Deprecated since version 0.96.0: This function is deprecated and
10 should not be used in new code.
11
12 Please use mongoc_bulk_operation_remove_one() in new code.
13
14
16 void
17 mongoc_bulk_operation_delete_one (mongoc_bulk_operation_t *bulk,
18 const bson_t *selector)
19 BSON_GNUC_DEPRECATED_FOR (mongoc_bulk_operation_remove_one);
20
21 Delete a single document as part of a bulk operation. This only queues
22 the operation. To execute it, call mongoc_bulk_operation_execute().
23
25 • bulk: A mongoc_bulk_operation_t.
26
27 • selector: A bson_t.
28
30 Errors are propagated via mongoc_bulk_operation_execute().
31
32 SEE ALSO:
33 mongoc_bulk_operation_remove_one_with_opts()
34
35 mongoc_bulk_operation_remove_many_with_opts()
36
37
39 MongoDB, Inc
40
42 2017-present, MongoDB, Inc
43
44
45
46
471.24.3 Aug 17, 202M3ONGOC_BULK_OPERATION_DELETE_ONE(3)