1MONGOC_DATABASE_GET_COLLECTION(3)  libmongoc MONGOC_DATABASE_GET_COLLECTION(3)
2
3
4

NAME

6       mongoc_database_get_collection - mongoc_database_get_collection()
7

SYNOPSIS

9          mongoc_collection_t *
10          mongoc_database_get_collection (mongoc_database_t *database, const char *name);
11
12       Allocates  a new mongoc_collection_t structure for the collection named
13       name in database.
14

RETURNS

16       A newly allocated mongoc_collection_t that should be  freed  with  mon‐
17       goc_collection_destroy().
18

AUTHOR

20       MongoDB, Inc
21
23       2017-present, MongoDB, Inc
24
25
26
27
281.16.2                           Feb 25, 2020MONGOC_DATABASE_GET_COLLECTION(3)
Impressum