I’m writing this down, riiight here, because i just got bored of searching this in google everytime i need to run an experiment. If you need to drop a mongo database, just fire the mongo shell and type:
use mydb;
db.dropDatabase();That’s it!
I’m writing this down, riiight here, because i just got bored of searching this in google everytime i need to run an experiment. If you need to drop a mongo database, just fire the mongo shell and type:
use mydb;
db.dropDatabase();That’s it!