Documentation / queries/SortingActionsForQuery
queries/SortingActionsForQuery
Classes
SortingActionsForQuery<TDataType, TArguments>
Represents sorting for a query.
Type Parameters
• TDataType
• TArguments = object
Constructors
new SortingActionsForQuery()
new SortingActionsForQuery<
TDataType
,TArguments
>(field
,query
):SortingActionsForQuery
<TDataType
,TArguments
>
Initializes a new instance of SortingActionsForQuery.
Parameters
field
string
The field that the sorting represents.
query
IQueryFor
<TDataType
, TArguments
>
The query that holds the field.
Returns
SortingActionsForQuery
<TDataType
, TArguments
>
Defined in
queries/SortingActionsForQuery.ts:18
Properties
field
readonly
field:string
The field that the sorting represents.
Defined in
queries/SortingActionsForQuery.ts:18
query
readonly
query:IQueryFor
<TDataType
,TArguments
>
The query that holds the field.
Defined in
queries/SortingActionsForQuery.ts:18
Methods
ascending()
ascending():
Sorting
Instructs query to sort ascending for the field.
Returns
Defined in
queries/SortingActionsForQuery.ts:24
descending()
descending():
Sorting
Instructs query to sort ascending for the field.