IndexDefinition
API reference for IndexDefinition
Interface: IndexDefinition
Section titled “Interface: IndexDefinition”Index definition for store configuration
Indexable
Section titled “Indexable”[key: string]: unknown
Properties
Section titled “Properties”fields
Section titled “fields”fields:
string[]
name:
string
sparse?
Section titled “sparse?”
optionalsparse:boolean
optionaltype:string
unique?
Section titled “unique?”
optionalunique:boolean