Entity
    Preparing search index...

    Interface ILikeSearchSpecification<TFields, TSelectedFields>

    Search specification for case-insensitive pattern matching using the SQL ILIKE operator.

    interface ILikeSearchSpecification<
        TFields extends Record<string, any>,
        TSelectedFields extends keyof TFields = keyof TFields,
    > {
        fields: readonly EntityLoaderSearchFieldSpecification<
            TFields,
            TSelectedFields,
        >[];
        strategy: ILIKE_SEARCH;
        term: string;
    }

    Type Parameters

    • TFields extends Record<string, any>
    • TSelectedFields extends keyof TFields = keyof TFields

    Hierarchy (View Summary)

    Index

    The fields to search within.

    strategy: ILIKE_SEARCH

    Case-insensitive pattern matching search using SQL ILIKE operator. Results are ordered by the fields being searched within in the order specified, then by ID for tie-breaking and stable pagination.

    term: string

    The search term to search for. Must be a non-empty string.