Interface QuerySelectionModifiers<TFields>

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

interface QuerySelectionModifiers<TFields> {
    limit?: number;
    offset?: number;
    orderBy?: { fieldName: keyof TFields; order: OrderByOrdering }[];
}

Type Parameters

  • TFields

Hierarchy (View Summary)

Properties

limit?: number

Limit the number of entities returned.

offset?: number

Skip the specified number of entities queried before returning.

orderBy?: { fieldName: keyof TFields; order: OrderByOrdering }[]

Order the entities by specified columns and orders.