mongoc_database_has_collection (3) Linux Manual Page
mongoc_database_has_collection() – None
Synopsis
boolThis function checks to see if a collection exists on the MongoDB server within database \&.
mongoc_database_has_collection (mongoc_database_t *database,
const char *name,
bson_error_t *error);
Parameters
- database
- A mongoc_database_t \&.
- name
- A string containing the name of the collection.
- error
- An optional location for a bson_error_t or NULL \&.
