entities.indexes
Explicit composite/extra indexes beyond the automatic ones (PK, unique, ref).
Guide: Indexes and uniqueness
The entities block spans these pages: entities · entities · fields · entities · computed & rollups · entities · rules · entities · hooks · entities · indexes.
entities.<name>.indexes
Section titled “entities.<name>.indexes”Explicit composite/extra indexes beyond the automatic ones (PK, unique, ref).
- Type:
array of object - Required: no
entities.<name>.indexes[].fields
Section titled “entities.<name>.indexes[].fields”Fields covered by the index, in order.
- Type:
array of string - Required: yes
entities.<name>.indexes[].unique
Section titled “entities.<name>.indexes[].unique”Whether the index enforces uniqueness across the covered fields.
- Type:
boolean - Required: no
- Default:
false