(list-response-schema Model)
generate a list response schema for a model
generate a list response schema for a model
(paginate data
{:keys [sort_by sort_order offset limit]
:or {sort_by :id sort_order :asc offset 0 limit default-limit}})
(response results {:keys [offset limit sort search_after hits]})
Make a paginated response adding pagination helpers into a map
Make a paginated response adding pagination helpers into a map
cljdoc builds & hosts documentation for Clojure/Script libraries
Ctrl+k | Jump to recent docs |
← | Move to previous article |
→ | Move to next article |
Ctrl+/ | Jump to the search field |