MONGOC_DATABASE_DROP(3) libmongoc MONGOC_DATABASE_DROP(3)

bool
mongoc_database_drop (mongoc_database_t *database, bson_error_t *error);


  • database: A mongoc_database_t.
  • error: An optional location for a bson_error_t or NULL.

For more information, see mongoc_database_drop_with_opts(). This function is a thin wrapper, passing NULL in as bson_t parameter.

MongoDB, Inc

2017-present, MongoDB, Inc

March 31, 2024 1.26.0