Optional
uri: stringThe string uri of the mongodb connection. Default: mongodb://localhost:27017
Optional
connectionOptions: MongoClientOptionsThe options for the connection. This function uses the npm module mongodb under the hood, so these are the MongoClientOptions. By default, if not explicitly set to false, "useUnifiedTopology" and "useNewUrlParser" are set to true.
Optional
options: MongoCleanerOptionsThe MongoCleanerInternalOptions | options for the cleaner. You can specify things such as asking a confirm before cleaning, databases to be kept, keeping collections and removing their documents.
Generated using TypeDoc
Tries to remove all the database of MongoDB.