AutoBE
    Preparing search index...

    Interface representing a regular (non-unique) index for query performance.

    Regular indexes speed up database queries by creating optimized data structures for common search patterns. Essential for foreign keys, date ranges, and frequently filtered fields.

    interface IPlainIndex {
        fieldNames: string[] & MinItems<1> & UniqueItems<true>;
    }
    Index

    Properties

    Properties

    fieldNames: string[] & MinItems<1> & UniqueItems<true>

    Array of field names to include in the performance index.

    Can be single field (e.g., ["created_at"]) or composite (e.g., ["customer_id", "created_at"]). All field names must exist in the model. Order matters for composite indexes and should match common query patterns. Examples: ["created_at"], ["shopping_customer_id", "created_at"], ["ip"]