Release 1.3 - ...
<paging> element
This element defines the (outer) paging query, which is used to apply paging to the results.
You should use ?:lowerbound and ?:upperbound within the query in order for paging to function properly.
The this.searchquery() local instance viper will be resolved to the constructed search query.
Example
XML |
Copy Code
|
<paging><![CDATA[
SELECT * FROM (
{this.searchquery(default="SELECT Nr, 0 As SearchRank FROM Contents WHERE Nr=-1")}
) x
WHERE rownum BETWEEN ?:lowerbound AND ?:upperbound
]]>
</paging>
|
Attributes
None.
Parent element
Element name |
Description |
<masterquery> |
Element containing the masterquery configuration. |
Child elements
None.
Local Vipers