Provided by: libmongoc-doc_2.2.1-1_all 

SYNOPSIS
void
mongoc_database_destroy (mongoc_database_t *database);
Releases all resources associated with database, including freeing the structure. Does nothing if
database is NULL.
PARAMETERS
• database: A mongoc_database_t <>.
Author
MongoDB, Inc
Copyright
2009-present, MongoDB, Inc.
2.2.1 Dec 11, 2025 MONGOC_DATABASE_DESTROY(3)