Truncate collection
truncate_collectionClear all records in a collection while preserving its schema. Use to reset data for testing or redeployments, knowing the action cannot be undone.
Instructions
Delete ALL records of a collection while keeping the collection/schema itself. Cannot be undone.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| idOrName | Yes | Collection id or name to truncate. |