prorm API Reference
    Preparing search index...

    Interface IndexField

    One column within an index, with the per-column modifiers (sort direction, collation, prefix length) that the engine supports.

    interface IndexField {
        name: string;
        length?: number;
        order?: SortDirection | "ASC" | "DESC";
        collate?: string;
    }
    Index
    name: string
    length?: number
    order?: SortDirection | "ASC" | "DESC"
    collate?: string