mongodb reset all data 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>
}
)