databrary-1: Databrary

Safe HaskellSafe
LanguageHaskell2010

Model.Paginate

Synopsis

Documentation

data Paginate Source #

Denote information for retrieving one page, most likely from a query result

Constructors

Paginate 

Fields

Instances

Bounded Paginate Source #

A page must have at least one row requested, and can only request up to 129 rows in one page

Enum Paginate Source #

ways to traverse forward and backwards between pages, using limit

Default Paginate Source #

Default paging starts from the beginning and retrieves up to 25 rows

Methods

def :: Paginate #

def :: Default a => a #

The default value for this type.