withSorting()
Home > @gooddata/sdk-backend-spi > IComputedAttributesQuery > withSorting
IComputedAttributesQuery.withSorting() method
Sets sorting for the query.
Signature:
withSorting(sort: string[]): IComputedAttributesQuery;
Parameters
|
Parameter |
Type |
Description |
|---|---|---|
|
sort |
string[] |
Sorting criteria in the format: property,(asc|desc). Default sort order is ascending. Multiple sort criteria are supported. |
Returns:
computed attributes query