PageRequest
class in package klyn.data

    public final class PageRequest:

PageRequest

Immutable zero-based paging request.

    request = PageRequest(0, 25)
    page = usersQuery.page(request)

Properties

Modifier and Type | Member | Description
--- | --- | ---
public readonly property | pageIndex `pageIndex as Int` | Zero-based page index.
public readonly property | pageSize `pageSize as Int` | Maximum number of rows in one page.

Constructors

Modifier and Type | Member | Description
--- | --- | ---
public | PageRequest `PageRequest(pageIndex as Int, pageSize as Int):` | Creates a paging request.