1MONGOC_BULK_OPERATION_REMOVE_ONE_WMIOTlNHiG_bOOmCPo_TnBSgU(oL3cK)_OPERATION_REMOVE_ONE_WITH_OPTS(3)
2
3
4

NAME

6       mongoc_bulk_operation_remove_one_with_opts  - mongoc_bulk_operation_re‐
7       move_one_with_opts()
8

SYNOPSIS

10          bool
11          mongoc_bulk_operation_remove_one_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       Remove a single document as part of a bulk operation. This only  queues
17       the operation. To execute it, call mongoc_bulk_operation_execute().
18

PARAMETERS

20bulk: A mongoc_bulk_operation_t.
21
22selector: A bson_t that selects which document to remove.
23
24error: 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
28collation:  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
32hint: A document or string that specifies the index to use to support
33         the query predicate.
34

ERRORS

36       Operation errors are  propagated  via  mongoc_bulk_operation_execute(),
37       while argument validation errors are reported by the error argument.
38

RETURNS

40       Returns true on success, and false if passed invalid arguments.
41
42       SEE ALSO:
43          mongoc_bulk_operation_remove_one()
44
45          mongoc_bulk_operation_remove_many_with_opts()
46
47

AUTHOR

49       MongoDB, Inc
50
52       2017-present, MongoDB, Inc
53
54
55
56
571.20.0                           NMoOvNG1O8C,_B2U0L2K1_OPERATION_REMOVE_ONE_WITH_OPTS(3)
Impressum