cap_collection
Limit the number of documents in a database collection to a specified maximum, preventing data overflow and optimizing storage on the Codehooks.io platform.
Instructions
Cap a collection
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| collection | Yes | Collection name | |
| cap | Yes | Maximum number of documents |