Table of Contents

Documentation / queries/Sorting

queries/Sorting

Classes

Sorting

Represents sorting for a query.

Constructors

new Sorting()

new Sorting(field, direction): Sorting

Initializes a new instance of the Sorting class.

Parameters
field

string

The field to sort by.

direction

SortDirection

The SortDirection to sort by.

Returns

Sorting

Defined in

queries/Sorting.ts:21

Properties

direction

readonly direction: SortDirection

The SortDirection to sort by.

Defined in

queries/Sorting.ts:21

field

readonly field: string

The field to sort by.

Defined in

queries/Sorting.ts:21

none

static none: Sorting

No sorting.

Defined in

queries/Sorting.ts:14

Accessors

hasSorting
Get Signature

get hasSorting(): boolean

Gets whether sorting is enabled.

Returns

boolean

Defined in

queries/Sorting.ts:27