mongoc_database_get_collection - Man Page
Synopsis
mongoc_collection_t *
mongoc_database_get_collection (mongoc_database_t *database,
const char *name);Allocates a new mongoc_collection_t <> structure for the collection named name in databaseā.
Returns
A newly allocated mongoc_collection_t <> that should be freed with mongoc_collection_destroy() <>ā.
Author
MongoDB, Inc
Copyright
2009-present, MongoDB, Inc.
Info
Sep 04, 2026 2.5.2 libmongoc