Is it possible to remove collection or entire db using mongoose.js?
Mongoose references the connection on every model. So, you may find it useful to also drop the DB or collection off of an individual model.
For example:
// Drop the 'foo' collection from the current database
User.db.dropCollection('foo', function(err, result) {...});
// Drop the current database
User.db.dropDatabase(function(err, result) {...});