1MONGOC_BULK_OPERATION_REMOVE_MANMYoM_nOWgNIoGTDOHBC__OCBPUTDLSrK(i_3vO)ePrERATION_REMOVE_MANY_WITH_OPTS(3)
2
3
4
6 mongoc_bulk_operation_remove_many_with_opts - mongoc_bulk_opera‐
7 tion_remove_many_with_opts()
8
10 bool
11 mongoc_bulk_operation_remove_many_with_opts (mongoc_bulk_operation_t *bulk,
12 const bson_t *selector,
13 const bson_t *opts,
14 bson_error_t *error); /* OUT */
15
16 Delete documents as part of a bulk operation. This only queues the
17 operation. To execute it, call mongoc_bulk_operation_execute().
18
20 · bulk: A mongoc_bulk_operation_t.
21
22 · selector: A bson_t that selects which document to remove.
23
24 · error: An optional location for a bson_error_t or NULL.
25
26 opts may be NULL or a BSON document with additional command options:
27
28 · collation: Configure textual comparisons. See Setting Collation
29 Order, and the MongoDB Manual entry on Collation. Collation requires
30 MongoDB 3.2 or later, otherwise an error is returned.
31
33 mongoc_bulk_operation_remove()
34
35 mongoc_bulk_operation_remove_one_with_opts()
36
38 Operation errors are propagated via mongoc_bulk_operation_execute(),
39 while argument validation errors are reported by the error argument.
40
42 Returns true on success, and false if passed invalid arguments.
43
45 MongoDB, Inc
46
48 2017-present, MongoDB, Inc
49
50
51
52
531.13.1 MJOaNnGO2C4_,BU2L0K1_9OPERATION_REMOVE_MANY_WITH_OPTS(3)