Defines a sort clause for an individual field.

interface SortClause {
    direction?: SortDirection;
    field: string;
}

Properties

Properties

direction?: SortDirection

The sort direction. The default is ascending.

field: string

The name of the field to sort by.