query_select Property
Selects only the specified properties to be returned in an entry when querying a service.
Syntax
def get_query_select() -> str: ... def set_query_select(value: str) -> None: ...
query_select = property(get_query_select, set_query_select)
Default Value
""
Remarks
This property allows you to specify the specific properties you want returned within an entry when calling query_service. The specified value should be a comma-separated list of properties (provided you wish to have more than one property returned). For example, if you wish to only have the 'Name' and 'Price' of each item returned you can set query_select to "Name,Price".
Note the specified values can be a property name, navigation property name (entry_links_title) or the "*" character (which returns all the properties for each entry).