1 Matching Annotations
- Sep 2020
-
github.com github.com
-
remove
model.remove()
Removes all documents that match conditions from the collection. To remove just the first document that matches conditions, set the single option to true.
https://mongoosejs.com/docs/api/model.html#model_Model.remove
-