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

SYNOPSIS

6          void
7          mongoc_bulk_operation_insert (mongoc_bulk_operation_t *bulk,
8                                        const bson_t *document);
9
10       Queue  an insert of a single document into a bulk operation. The insert
11       is not performed until mongoc_bulk_operation_execute() is called.
12
13       This           function           is           superseded            by
14       mongoc_bulk_operation_insert_with_opts().
15

PARAMETERS

17bulk: A mongoc_bulk_operation_t.
18
19document: A bson_t.
20

ERRORS

22       Errors are propagated via mongoc_bulk_operation_execute().
23
24       SEE ALSO:
25          Bulk Write Operations
26
27

AUTHOR

29       MongoDB, Inc
30
32       2017-present, MongoDB, Inc
33
34
35
36
371.25.1                           Nov 08, 2023  MONGOC_BULK_OPERATION_INSERT(3)
Impressum