1MONGOC_BULK_OPERATION_INSERT_WITMHo_nOgPoTDSBM(O3CN)GDOrCi_vBeUrLK_OPERATION_INSERT_WITH_OPTS(3)
2
3
4

NAME

6       mongoc_bulk_operation_insert_with_opts       -       mongoc_bulk_opera‐
7       tion_insert_with_opts()
8

SYNOPSIS

10          bool
11          mongoc_bulk_operation_insert_with_opts (mongoc_bulk_operation_t *bulk,
12                                                  const bson_t *document,
13                                                  const bson_t *opts,
14                                                  bson_error_t *error); /* OUT */
15
16       Queue an insert of a single document into a bulk operation. The  insert
17       is not performed until mongoc_bulk_operation_execute() is called.
18

PARAMETERS

20       · bulk: A mongoc_bulk_operation_t.
21
22       · document: A bson_t.
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       · validate:     Construct     a     bitwise-or     of    all    desired
29         bson_validate_flags_t. Set to false to skip client-side validation of
30         the provided BSON documents.
31

ERRORS

33       Operation  errors  are  propagated via mongoc_bulk_operation_execute(),
34       while argument validation errors are reported by the error argument.
35

RETURNS

37       Returns true on success, and false if passed invalid arguments.
38

AUTHOR

40       MongoDB, Inc
41
43       2017-present, MongoDB, Inc
44
45
46
47
481.15.2                           Nov 0M6O,NG2O0C1_9BULK_OPERATION_INSERT_WITH_OPTS(3)
Impressum