DOKK / manpages / debian 13 / libmongoc-doc / mongoc_database_destroy.3.en
MONGOC_DATABASE_DESTROY(3) libmongoc MONGOC_DATABASE_DESTROY(3)

void
mongoc_database_destroy (mongoc_database_t *database);


Releases all resources associated with database, including freeing the structure. Does nothing if database is NULL.

database: A mongoc_database_t.

MongoDB, Inc

2009-present, MongoDB, Inc.

May 7, 2025 1.30.4