Risk-Aware AI Code Review for Business-Critical Systems
LiveReview LiveReview Explore LiveReview

bool

Author

       MongoDB, Inc

Description

       Adds a document to insert into the namespace ns. Returns true on success. Returns false and sets error if
       an error occured.

Synopsis

          bool
          mongoc_bulkwrite_append_insertone (mongoc_bulkwrite_t *self,
                                             const char *ns,
                                             const bson_t *document,
                                             const mongoc_bulkwrite_insertoneopts_t *opts /* May be NULL */,
                                             bson_error_t *error);

See Also