SyntaxFix
Write A Post
Hire A Developer
Questions
To empty a particular collection in a database:
model.remove(function(err, p){ if(err){ throw err; } else{ console.log('No Of Documents deleted:' + p); } });
Note: