1MONGOC_BULK_OPERATION_INSERT(3) libmongoc MONGOC_BULK_OPERATION_INSERT(3)
2
3
4
6 mongoc_bulk_operation_insert - mongoc_bulk_operation_insert()
7
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
17 mongoc_bulk_operation_insert_with_opts().
18
20 • bulk: A mongoc_bulk_operation_t.
21
22 • document: A bson_t.
23
25 Errors are propagated via mongoc_bulk_operation_execute().
26
27 SEE ALSO:
28 Bulk Write Operations
29
30
32 MongoDB, Inc
33
35 2017-present, MongoDB, Inc
36
37
38
39
401.23.1 Oct 20, 2022 MONGOC_BULK_OPERATION_INSERT(3)