Man page - mongoc_database_get_collection(3)

Packages contas this manual

Manual

MONGOC_DATABASE_GET_COLLECTION(3) libmongoc MONGOC_DATABASE_GET_COLLECTION(3)

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.

A newly allocated mongoc_collection_t that should be freed with mongoc_collection_destroy().

MongoDB, Inc

2009-present, MongoDB, Inc.

December 18, 2025 1.30.4