table of contents
MONGOC_BULKWRITE_UPDATEMANYOPTS_SET_UPSERT(3) | libmongoc | MONGOC_BULKWRITE_UPDATEMANYOPTS_SET_UPSERT(3) |
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.
November 13, 2024 | 1.29.0 |