mongoc_database_get_collection man page

mongoc_database_get_collection() — None

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(3)

Colophon

This page is part of MongoDB C Driver. Please report any bugs at https://jira.mongodb.org/browse/CDRIVER.

Referenced By

mongoc_database_set_read_concern(3), mongoc_database_set_read_prefs(3), mongoc_database_set_write_concern(3).

2016‐10‐19 MongoDB C Driver