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,
11                                          const char *name) BSON_GNUC_WARN_UNUSED_RESULT;
12
13       Allocates  a new mongoc_collection_t structure for the collection named
14       name in database.
15

RETURNS

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

AUTHOR

21       MongoDB, Inc
22
24       2017-present, MongoDB, Inc
25
26
27
28
291.20.0                           Nov 18, 2021MONGOC_DATABASE_GET_COLLECTION(3)
Impressum