page

abstract fun page(page: Page): PanacheQuery<Entity>

Sets the current page.

Return

this query, modified

Parameters

page

the new page

See also

.page


abstract fun page(pageIndex: Int, pageSize: Int): PanacheQuery<Entity>

Sets the current page.

Return

this query, modified

Parameters

pageIndex

the page index

pageSize

the page size

See also


abstract fun page(): Page

Returns the current page.

Return

the current page

See also

Throws

if a page hasn't been set or if a range is already set