MONGOC_BULKWRITE_APPEND_INSERTONE(3)

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

DESCRIPTION

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

AUTHOR
MongoDB, Inc

COPYRIGHT
2009-present, MongoDB, Inc.