how to delete a collection in mongodb shell code example
Example: delete an item from db collection mongodb
db.collection.remove(
<query>,
{
justOne: <boolean>,
writeConcern: <document>
}
)
db.collection.remove(
<query>,
{
justOne: <boolean>,
writeConcern: <document>
}
)