query_top Property

Selects the first N entries when querying a service.

Syntax

def get_query_top() -> str: ...
def set_query_top(value: str) -> None: ...

query_top = property(get_query_top, set_query_top)

Default Value

""

Remarks

This property allows you to specify the number of entries (taken from the top of the list) to be returned when calling query_service. The specified value should not be a value less than 0.

By default, the service you are querying will sort the entries using a scheme selected by the OData service you are querying. However you can use query_order_by to specify how the entries should be sorted prior to selecting the top N items.

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