Sponsor:

Your company here ā€” click to reach over 10,000 unique daily visitors

mongoc_collection_destroy - Man Page

Synopsis

void
mongoc_collection_destroy (mongoc_collection_t *collection);

Parameters

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

Info

Jul 03, 2024 1.27.4 libmongoc