mongoc_database_get_collection man page

mongoc_database_get_collection() — None


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


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).

Explore man page connections for mongoc_database_get_collection(3).

MongoDB C Driver 2016-10-19