Defines a field name and order used to sort query results.
SortParams
let filter = FilterParams.fromTuples("type", "Type1"); let paging = new PagingParams(0, 100); let sorting = new SortingParams(new SortField("create_time", true)); myDataClient.getDataByFilter(filter, paging, sorting, (err, page) => {...});
Creates a new instance and assigns its values.
the name of the field to sort by.
true to sort in ascending order, and false to sort in descending order.
The flag to define sorting order. True to sort ascending, false to sort descending
The field name to sort by
Generated using TypeDoc
Defines a field name and order used to sort query results.
SortParams
Example
let filter = FilterParams.fromTuples("type", "Type1"); let paging = new PagingParams(0, 100); let sorting = new SortingParams(new SortField("create_time", true)); myDataClient.getDataByFilter(filter, paging, sorting, (err, page) => {...});