logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

void

Author

       MongoDB, Inc

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.

Parameters

collection: A mongoc_collection_t.

Synopsis

          void
          mongoc_collection_destroy (mongoc_collection_t *collection);

See Also