Liking cljdoc? Tell your friends :D

datumbazo.pagination


*page*clj

The current page number.

The current page number.
sourceraw docstring

*per-page*clj

The default number of pages.

The default number of pages.
sourceraw docstring

page-infoclj

(page-info db target & [params])

Returns the page info for query and params.

Returns the page info for `query` and `params`.
sourceraw docstring

paginateclj

(paginate page & [limit per-page])

Add LIMIT and OFFSET clauses to query calculated from page and per-page.

Add LIMIT and OFFSET clauses to `query` calculated from `page` and
`per-page.`
sourceraw docstring

queryclj

(query target)

Returns the query for target.

Returns the query for `target`.
sourceraw docstring

strip-queryclj

(strip-query query)

Remove LIMIT and OFFSET clauses from query.

Remove LIMIT and OFFSET clauses from `query`.
sourceraw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close