table of contents
other versions
- bookworm 1.23.1-1
- testing 1.26.0-1
- unstable 1.26.1-1
- experimental 1.26.0-1.1~exp1
MONGOC_COLLECTION_DESTROY(3) | libmongoc | MONGOC_COLLECTION_DESTROY(3) |
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
February 25, 2024 | 1.26.0 |