Tag Archives: dropDatabase

MongoDB – Drop database

The dropDatabase command drops the current database, deleting the associated data files. Different methods to drop database Method 1: 1. select the database which you want to delete >use < database name > 2. Then issue the below command >db.dropDatabase() … Continue reading

Posted in MongoDB | Tagged , , | Leave a comment