mongodb find and delete one 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*