Delete everything in a MongoDB database

use [database];
db.dropDatabase();
Topics: MongoDB

Related Code Examples