mongoc_bulkwrite_append_replaceone(3)

mongoc_bulkwrite_append_replaceone3

Usage

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);

Overview

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

Author

MongoDB, Inc

From libmongoc-doc 1.30.4-1+deb13u3 in Debian 13 (Trixie). Parsed by carta from the page's man source.