Entity
    Preparing search index...

    Interface EntityLoaderQuerySelectionModifiersWithOrderByRaw<TFields, TSelectedFields>

    SQL modifiers that only affect the selection but not the projection.

    interface EntityLoaderQuerySelectionModifiersWithOrderByRaw<
        TFields extends Record<string, any>,
        TSelectedFields extends keyof TFields = keyof TFields,
    > {
        limit?: number;
        offset?: number;
        orderBy?: readonly EntityLoaderOrderByClause<TFields, TSelectedFields>[];
        orderByRaw?: string;
    }

    Type Parameters

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

    Hierarchy (View Summary)

    Index

    Properties

    limit?: number

    Limit the number of entities returned.

    offset?: number

    Skip the specified number of entities queried before returning.

    Order the entities by specified columns and orders.

    orderByRaw?: string

    Order the entities by a raw SQL ORDER BY clause.