mongoc_bulkwrite_updatemanyopts_set_upsert
Synopsis
void mongoc_bulkwrite_updatemanyopts_set_upsert (mongoc_bulkwrite_updatemanyopts_t *self, bool upsert);
Description
If upsert is true, creates a new document if no document matches the query.
The upsert option is not sent if this function is not called. The server's default value is false.
Author
MongoDB, Inc
Copyright
2009-present, MongoDB, Inc.
Info
Nov 07, 2024 1.29.0 libmongoc