Purpose : To delete the database.

Step 1: Create file with name db_delete.js

mongo=new Mongo(“localhost”);
myDB=mongo.getDB(“newDB”);
myDB.dropDatabase();

ice_screenshot_20151210-141025

Advertisements