MONGOC_COLLECTION_DESTROY(3)

NAME
mongoc_collection_destroy()

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 it's associated resources. NOTE
    You should always destroy mongoc_cursor_t

COLOPHON
This page is part of MongoDB C Driver. Please report any bugs at https://jira.mongodb.org/browse/CDRIVER.