1MONGOC_COLLECTION_DESTROY(3)       libmongoc      MONGOC_COLLECTION_DESTROY(3)
2
3
4

SYNOPSIS

6          void
7          mongoc_collection_destroy (mongoc_collection_t *collection);
8

PARAMETERS

10collection: A mongoc_collection_t.
11

DESCRIPTION

13       This  function  shall  destroy a mongoc_collection_t and its associated
14       resources. Does nothing if collection is NULL.
15
16       WARNING:
17          Always destroy a mongoc_cursor_t created from  a  collection  before
18          destroying the collection.
19

AUTHOR

21       MongoDB, Inc
22
24       2017-present, MongoDB, Inc
25
26
27
28
291.25.1                           Nov 08, 2023     MONGOC_COLLECTION_DESTROY(3)
Impressum