Drop a database in MongoDB
If you want to delete a database named ‘dummy_db’ just do this:
$ mongo
> use dummy_db
switched to db dummy_db
> db.dropDatabase()
{ "dropped" : "dummy_db", "ok" : 1 }
24 Notes/ Hide
-
determinesek6 liked this
-
promontoryop3 liked this
-
resorts69 liked this
-
bonham690 liked this
-
edgar posted this