Forage.Paginator (forage v0.4.0)

Link to this section Summary

Link to this section Functions

Link to this function

paginate(params, schema, repo, options, repo_opts \\ [])

Build properly paginated Ecto queries from a set of parameters.

Requires a repo with a paginate/2 function. The easiest way of having a compliant repo is to use Paginator, ... inside your Repo.

Link to this function

pagination_options(params, schema, options \\ [])