query_order_by Property

The value used to order entries when querying a service.

Syntax

def get_query_order_by() -> str: ...
def set_query_order_by(value: str) -> None: ...

query_order_by = property(get_query_order_by, set_query_order_by)

Default Value

""

Remarks

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

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 query_order_by 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 Python Edition - Version 20.0 [Build 8307]