Companion

object Companion

Properties

Link copied to clipboard

Default pagination settings (page 1, 10 items per page).

Functions

Link copied to clipboard
fun of(index: Int = 1, size: Int = 10): Pagination

A Pagination of the given values.

Link copied to clipboard
fun offset(index: Int, size: Int): Long

Calculates the offset for a given page index and size.