Function MongoCollection.deleteOne
Deletes at most one document matching the query filter
. The returned
result identifies how many documents have been deleted.
See Also
Standards
https://www.mongodb.com/docs/manual/reference/command/delete/