mongoc_database_get_collection(3)

mongoc_database_get_collection3

Usage

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

Releases

5 releases since Debian 9 (Stretch); the text changed 4 times.

  1. 9
  2. 10
  3. 11
  4. 12
  5. 13

Author

MongoDB, Inc

From libmongoc-doc 1.30.4-1+deb13u3 in Debian 13 (Trixie). Parsed by carta from the page's man source.