bool
Contents
Copyright
2009-present, MongoDB, Inc.
1.30.4 Jun 08, 2025 MONGOC_COLLECTION_DROP(3)
Description
For more information, see mongoc_collection_drop_with_opts(). This function is a thin wrapper, passing
NULL in as bson_t parameter.
Parameters
• collection: A mongoc_collection_t.
• error: An optional location for a bson_error_t or NULL.
Synopsis
bool
mongoc_collection_drop (mongoc_collection_t *collection, bson_error_t *error);
