withSorting()
Home > @gooddata/sdk-backend-spi > IParametersQuery > withSorting
IParametersQuery.withSorting() method
Sets sorting for the query.
Signature:
withSorting(sort: string[]): IParametersQuery;
Parameters
|
Parameter |
Type |
Description |
|---|---|---|
|
sort |
string[] |
sorting criteria in the format: property,(asc|desc) |
Returns:
parameters query