MONGOC_COLLECTION_DROP(3) libmongoc MONGOC_COLLECTION_DROP(3)

bool
mongoc_collection_drop (mongoc_collection_t *collection, bson_error_t *error);


  • collection: A mongoc_collection_t.
  • error: An optional location for a bson_error_t or NULL.

For more information, see mongoc_collection_drop_with_opts(). This function is a thin wrapper, passing NULL in as bson_t parameter.

MongoDB, Inc

2017-present, MongoDB, Inc

March 31, 2024 1.26.0