mongodb node delete collection entry code example
Example 1: delete an item from db collection mongodb
db.collection.remove(
<query>,
{
justOne: <boolean>,
writeConcern: <document>
}
)
Example 2: mango to delete a collection
db.CollectionName.drop()