mongo delecte object from a collection 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>
}
)