postgrest-0.4.2.0: REST API for any Postgres database

Safe Haskell | None
Language | Haskell2010

PostgREST.RangeQuery

# Documentation

rangeParse :: ByteString -> NonnegRange #

rangeRequested :: RequestHeaders -> NonnegRange #

rangeLimit :: NonnegRange -> Maybe Integer #

rangeOffset :: NonnegRange -> Integer #

restrictRange :: Maybe Integer -> NonnegRange -> NonnegRange #

rangeGeq :: Integer -> NonnegRange #

allRange :: NonnegRange #

type NonnegRange = Range Integer #