1MONGOC_BULK_OPERATION_REMOVE_MANYM_OWNIlGTiOHbC_m_OoBPnUTgLSoK(c_3O)PERATION_REMOVE_MANY_WITH_OPTS(3)
2
3
4
6 mongoc_bulk_operation_remove_many_with_opts - mongoc_bulk_operation_re‐
7 move_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 op‐
17 eration. 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 Or‐
29 der, and the MongoDB Manual entry on Collation. Collation requires
30 MongoDB 3.2 or later, otherwise an error is returned.
31
32 • hint: A document or string that specifies the index to use to support
33 the query predicate.
34
36 mongoc_bulk_operation_remove()
37
38 mongoc_bulk_operation_remove_one_with_opts()
39
41 Operation errors are propagated via mongoc_bulk_operation_execute(),
42 while argument validation errors are reported by the error argument.
43
45 Returns true on success, and false if passed invalid arguments.
46
48 MongoDB, Inc
49
51 2017-present, MongoDB, Inc
52
53
54
55
561.17.6 MJOuNnGO0C3_,BU2L0K2_1OPERATION_REMOVE_MANY_WITH_OPTS(3)