robbiblubber.org |
show wiki show source compare to current compare to previous read history deleteMany()MongoDB Driver Function Reference Deletes all documents from a collection that meet the filter criteria. There is no difference in usage and behavior between the delete() and deleteMany() functions. These functions can be considered synonyms.
Arguments
Options
Example
Deletes all documents from the employee collection with a salary greater than 700000. home | MongoDB Driver Function Reference | MongoDB Driver |