I would like to know if there\'re a command to drop every databases from my MongoDB?
I know if I want to drop only one datatable, I just need to type the name of the dat
It is as easy as
mongo --eval 'db.dropDatabase()'
Or, you can start a mongo session on your terminal and write
db.dropDatabase()
Which is exactly the same.