Description
Orders the rows in a set, with an optional limit on the number of rows to return
Example
Find the 10 instances with the highest number of sessions
instance->i{}/total_session_count/orderby('desc', 10)
Order the instances based on memory_usage
instance->i{}/memory_usage/orderby()
Syntax
expression/orderby(sortorder, limit)
Parameters
Type | Description |
---|---|
Expresssion | Expression that gives the rows to sort |
sortorder | ‘desc’ or ‘asc’, default is ‘desc’ |
limit | The number of rows to return, default is no limit |
Post your comment on this topic.