Classes

Method DacPagedDataStore():setPages() Foundation

Retrieves or defines the number of pages of the cache.

Syntax
:setPages( [<nPageCount>] ) --> nOldPageCount
Parameters
<nPageCount>
The numeric parameter <nPageCount> specifies how many cache pages are used.
Return

If the method is called without a parameter, it returns the current number of pages of the cache. If <nPageCount> is specified, the page number is set accordingly and the old value is returned.

Description

The default number of pages in the cache is 3. This corresponds to the Previous, Current and Next page of data.

Feedback

If you see anything in the documentation that is not correct, does not match your experience with the particular feature or requires further clarification, please use this form to report a documentation issue.