Deleting Documents
📌 deleteOne()
Deletes the first document that matches the condition.
📌 deleteMany()
Deletes all the documents that match the condition.
Last updated
Was this helpful?
Deletes the first document that matches the condition.
Deletes all the documents that match the condition.
Last updated
Was this helpful?