Sponsor:

Your company here, and a link to your site. Click to find out more.

mongoc_database_get_collection - Man Page

Synopsis

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

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

Author

MongoDB, Inc

Info

Apr 03, 2024 1.26.2 libmongoc