Browse By

Monthly Archives: March 2018

mongo-db-logo

How to drop all MongoDB databases

The title of the article is pretty much self-explanatory. So the easiest way I found to drop all your MongoDB databases from mongo CLI is to run this simple command which actually what it does is it goes through the result of getDBNames function and