mongoc_collection_destroy (3) Linux Manual Page
mongoc_collection_destroy() – This function shall destroy a mongoc_collection_t and its associated resources.
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.
NOTE
- Always destroy a
mongoc_cursor_tcreated from a collection before destroying the collection.
Colophon
This page is part of MongoDB C Driver. Please report any bugs at https://jira.mongodb.org/browse/CDRIVER.
