Ubuntu Manpages

  • collection: A mongoc_collection_t <>.

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.


MongoDB, Inc

2009-present, MongoDB, Inc.