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_operation_in‐
17       sert_with_opts().
18

PARAMETERS

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

ERRORS

25       Errors are propagated via mongoc_bulk_operation_execute().
26
27       SEE ALSO:
28          bulk
29
30

AUTHOR

32       MongoDB, Inc
33
35       2017-present, MongoDB, Inc
36
37
38
39
401.20.0                           Nov 18, 2021  MONGOC_BULK_OPERATION_INSERT(3)
Impressum