SYNOPSIS

mongoc_collection_t *
mongoc_database_get_collection (mongoc_database_t *database,
                                const char        *name);

DESCRIPTION

The mongoc_database_get_collection() function shall return a newly allocated mongoc_collection_t for the collection named by name.

RETURN VALUE

A mongoc_collection_t that should be freed with mongoc_collection_destroy().

AUTHORS

This page was written by MongoDB, Inc.