1MONGOC_BULK_OPERATION_INSERT(3)    libmongoc   MONGOC_BULK_OPERATION_INSERT(3)
2
3
4

NAME

6       mongoc_bulk_operation_insert - mongoc_bulk_operation_insert()
7

SYNOPSIS

9          void
10          mongoc_bulk_operation_insert (mongoc_bulk_operation_t *bulk,
11                                        const bson_t *document);
12
13       Queue  an insert of a single document into a bulk operation. The insert
14       is not performed until mongoc_bulk_operation_execute() is called.
15
16       This     function     is     superseded      by      mongoc_bulk_opera‐
17       tion_insert_with_opts().
18

PARAMETERS

20       · bulk: A mongoc_bulk_operation_t.
21
22       · document: A bson_t.
23

SEE ALSO

25       bulk
26

ERRORS

28       Errors are propagated via mongoc_bulk_operation_execute().
29

AUTHOR

31       MongoDB, Inc
32
34       2017-present, MongoDB, Inc
35
36
37
38
391.16.2                           Feb 25, 2020  MONGOC_BULK_OPERATION_INSERT(3)
Impressum