QueryOrderBy Property

The value used to order entries when querying a service.

Syntax

public var queryOrderBy: String {
get {...}
set {...} }

Default Value

""

Remarks

This property allows you to specify a value by which the returned entries will be order after a call to QueryService.

Note: You can specify the order by which the entries are sorted (either ascending or descending) by appending " asc" or " desc" (respectively) to your OrderBy value. For example, if you want to sort the entries by 'Rating' in descending order you would set QueryOrderBy to "Rating desc". If a specific order ('asc' or 'desc') is not specified, the entries will be returned in ascending order.

Copyright (c) 2022 /n software inc. - All rights reserved.
IPWorks 2020 macOS Edition - Version 20.0 [Build 8307]