Provided by: libmongoc-doc_1.9.2+dfsg-1build1_all 

NAME
mongoc_collection_destroy - mongoc_collection_destroy()
SYNOPSIS
void
mongoc_collection_destroy (mongoc_collection_t *collection);
PARAMETERS
• collection: A mongoc_collection_t.
DESCRIPTION
This function shall destroy a mongoc_collection_t and its associated resources.
WARNING:
Always destroy a mongoc_cursor_t created from a collection before destroying the collection.
AUTHOR
MongoDB, Inc
COPYRIGHT
2018, MongoDB, Inc
1.9.3-dev Feb 05, 2018 MONGOC_COLLECTION_DESTROY(3)