truncate_collection
Delete all documents in a collection while preserving its schema. This process retrieves the schema, deletes the collection, and recreates it with the same structure, ensuring data is cleared without altering the schema design.
Instructions
Input Schema
Name | Required | Description | Default |
---|---|---|---|
collection_name | Yes |