IP*Works! V9 - Online Help
IP*Works! V9
Questions / Feedback?

QueryOrderBy Property

The value used to order entries when querying a service.

Object Oriented Interface

public function getQueryOrderBy();
public function setQueryOrderBy($value);

Procedural Interface

ipworks_odata_get($res, 76 );
ipworks_odata_set($res, 76, $value );

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.

This property is not available at design time.

Data Type

String

 
 
Copyright (c) 2018 /n software inc. - All rights reserved.
Build 9.0.6635.0