dropDatabase() Drops the current database and deletes all the associated data files. Syntax diagramdb.dropDatabase( ) ExamplesDrop the current database:db.dropDatabase()