delete-many
Remove multiple documents from a MongoDB collection using a filter query to specify deletion criteria. This tool helps clean up data by deleting all matching records in one operation.
Instructions
Removes all documents that match the filter from a MongoDB collection
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| database | Yes | Database name | |
| collection | Yes | Collection name | |
| filter | No | The query filter, specifying the deletion criteria. Matches the syntax of the filter argument of db.collection.deleteMany() |