IndexDescription: {
    key: Record<string, IndexDirection>;
    multiEntry?: boolean;
    name?: string;
    unique?: boolean;
}

Description of index(es) to be created on a store

Type declaration

  • key: Record<string, IndexDirection>

    The key(s) to index

  • OptionalmultiEntry?: boolean

    Is the indexed value an array

  • Optionalname?: string

    The name of the index

  • Optionalunique?: boolean

    If true, the index must enforce uniqueness on the key