Entity
    Preparing search index...

    Interface EntityLoaderQuerySelectionModifiersWithOrderByFragment<TFields, TSelectedFields>

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

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

    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.

    orderByFragment?: SQLFragment

    Order the entities by a SQL fragment ORDER BY clause.