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

NAME

6       mongoc_collection_destroy - mongoc_collection_destroy()
7

SYNOPSIS

9          void
10          mongoc_collection_destroy (mongoc_collection_t *collection);
11

PARAMETERS

13       ยท collection: A mongoc_collection_t.
14

DESCRIPTION

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

AUTHOR

24       MongoDB, Inc
25
27       2017-present, MongoDB, Inc
28
29
30
31
321.16.2                           Feb 25, 2020     MONGOC_COLLECTION_DESTROY(3)
Impressum