Scroll to navigation

MONGOC_BULKWRITE_APPEND_REPLACEONE(3) libmongoc MONGOC_BULKWRITE_APPEND_REPLACEONE(3)

SYNOPSIS

bool
mongoc_bulkwrite_append_replaceone (mongoc_bulkwrite_t *self,

const char *ns,
const bson_t *filter,
const bson_t *replacement,
const mongoc_bulkwrite_replaceoneopts_t *opts /* May be NULL */,
bson_error_t *error);


DESCRIPTION

Adds a replace operation for the namespace ns. Returns true on success. Returns false and sets error if an error occured.

AUTHOR

MongoDB, Inc

COPYRIGHT

2009-present, MongoDB, Inc.

December 12, 2024 1.29.1