klyn.data.Query.slice
method

    public slice(request as PageRequest) as Slice<T>:

Description

Materializes one page window without executing an exact count.

One extra row is requested to determine `hasNext`.

Parameters

Parameter | Description
--- | ---
`request` | Zero-based paging request.

Returns

Slice rows and adjacent-page indicators.

Example

    slice = query.slice(PageRequest(0, 25))