Sunteți pe pagina 1din 2

1) pyReturnTotalResultCount (boolean) For RDB, indicates whether the total number of results satisfying the query (up to pyMaxRecords)

should be reported. If this is true, then the total result count up to the first pyMaxRecords result s is reported in properties pxTotalResultCount and pxPageCount. If pyReturnTota lResultCount is true, then pxMore is also set (though note that if paging is not enabled, pxMore is se t even if pyReturnTotalResultCount is false). 2) pyMaxRecords number of records to retrieve Specifies the maximum number of results For RDB, if paging is not enabled, then at are returned. If paging is enabled, thin the first pyMaxRecords results. If the requested page is not within the sults are returned.

to be returned. this is the maximum number of results th then the requested page is taken from wi first pyMaxRecords results, then zero re

3) pxTotalResultCount Used only with RDB. Indicates the total number of results, up to pyMaxRecords, that satisfy the query. This is the total number of results returned by the query up to pyMaxRecords. T his is set only if pyReturnTotalResultCount is true. (If pyReturnTotalResultCou nt is false, then pxTotalResultCount is always set to zero.) 4) pxPageCount Used only with RDB and paging. Indicates the total number of pages, up to pyMax Records, that satisfy the query. If pyPageIndex is set, then this is the number of pages of records that satisfy the query, up to pyMaxRecords. This includes the partial last page (if there is one). This is set only if pyReturnTotalResultCount is true. 5) pxMore Indicates whether a list or an RDB call has more results. For lists and RDB, you may use pyMaxRecords to specify the maximum number of res ults to return. If there are more results than this, then pxMore is set to true . If paging is enabled (RDB only), then pxMore is set only if pyReturnTotalResultC ount is true. 6) pyPageIndex For Rule-Connect-SQL queries only. Indicates the page at which the query result s should start. This controls whether paging is enabled occurs at all. If it is specified and g reater than zero, then RDB returns the pyPageSize records starting at this page. In other words, the first result returned is the one at (one-based) index (pyPageSize x (pyPageIndex - 1) + 1) If this page does not exist within the first pyMaxRecords results, then RDB indi cates zero results. If the value for pyPageIndex is not valid, then error Datab ase-BadInput-BadPageIndex is reported. 7) pyPageSize The page size (only used with RDB queries). If paging is enabled, then this specifies the maximum number of records to be re turned by RDB. If pyPageSize is greater than pyMaxRecords, then error DatabaseBadInput-BadPageSize is reported. It is also considered an error if pyPageIndex is set to a positive number and py PageSize is blank or zero.

8) pxResultCount Number of results returned If paging is specified (only applicable to RDB), then the value of this property is the number of results returned on the Code-Pega-List page, not the total num ber of results that satisfy the query.

S-ar putea să vă placă și