baasix_add_index
Add an index to a collection schema by defining field names and options like uniqueness to optimize query performance.
Instructions
Add an index to a collection schema
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| collection | Yes | Collection name | |
| indexDefinition | Yes | Index definition with fields and options |