delete-many
Remove multiple documents from a MongoDB collection based on a specified filter. Use this tool to efficiently delete matching records in a database, streamlining data management operations.
Instructions
Removes all documents that match the filter from a MongoDB collection
Input Schema
Name | Required | Description | Default |
---|---|---|---|
collection | Yes | Collection name | |
database | Yes | Database name | |
filter | No | The query filter, specifying the deletion criteria. Matches the syntax of the filter argument of db.collection.deleteMany() |