MongoDB - Drop a database
//
To drop a database in mongodb We can use "dropDatabase" command.
First we need to use the database we want to drop. and then use that command like this.
Suppose we have a database named students.
>use students;
db.dropDatabase();
//
Read More about it from the following link : http://coding-guru.com/mongodb-drop-a-database/ posted by Maz
MongoDB - Drop a database
Tags:
0 comments: