mongoc_collection_destroy - Man Page
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. Does nothing if collection is NULL.
WARNING:
Always destroy a mongoc_cursor_t created from a collection before destroying the collection.
Author
MongoDB, Inc
Copyright
2017-present, MongoDB, Inc
Info
Nov 08, 2023 1.25.1 libmongoc