1MONGOC_BULK_OPERATION_DELETE_ONE(3)libmongocMONGOC_BULK_OPERATION_DELETE_ONE(3)
2
3
4
6 Deprecated since version 0.96.0: This function is deprecated and
7 should not be used in new code.
8
9 Please use mongoc_bulk_operation_remove_one() in new code.
10
11
13 void
14 mongoc_bulk_operation_delete_one (mongoc_bulk_operation_t *bulk,
15 const bson_t *selector)
16 BSON_GNUC_DEPRECATED_FOR (mongoc_bulk_operation_remove_one);
17
18 Delete a single document as part of a bulk operation. This only queues
19 the operation. To execute it, call mongoc_bulk_operation_execute().
20
22 • bulk: A mongoc_bulk_operation_t.
23
24 • selector: A bson_t.
25
27 Errors are propagated via mongoc_bulk_operation_execute().
28
29 SEE ALSO:
30 mongoc_bulk_operation_remove_one_with_opts()
31
32 mongoc_bulk_operation_remove_many_with_opts()
33
34
36 MongoDB, Inc
37
39 2017-present, MongoDB, Inc
40
41
42
43
441.25.1 Nov 08, 202M3ONGOC_BULK_OPERATION_DELETE_ONE(3)