mongo pre deleteOne code example
Example: mongodb deleteOne
db.<collection>.deleteOne({name : "John" }) *delete one document with the name john*
db.<collection>.deleteOne({name : "John" }) *delete one document with the name john*