how to use deleteone in mongodb 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*