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
The SortDirection to sort by.
Returns
Defined in
Properties
direction
readonly
direction:SortDirection
The SortDirection to sort by.
Defined in
field
readonly
field:string
The field to sort by.
Defined in
none
static
none:Sorting
No sorting.
Defined in
Accessors
hasSorting
Get Signature
get hasSorting():
boolean
Gets whether sorting is enabled.
Returns
boolean