rename_collection
Renames a MongoDB collection within the same database, letting you set a new name and optionally drop an existing target collection.
Instructions
Rename a collection within the same database.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| database | No | ||
| new_name | Yes | ||
| collection | Yes | ||
| connection | No | ||
| drop_target | No |