drop_collection
Deletes a MongoDB collection along with all its documents and indexes; require confirm_name to match the collection name before destructive removal.
Instructions
Drop a collection with all its documents and indexes. confirm_name must repeat the collection name.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| database | No | ||
| collection | Yes | ||
| connection | No | ||
| confirm_name | Yes |