forage v0.2.0 Forage.Paginator

Link to this section Summary

Functions

Build properly paginated Ecto queries from a set of parameters

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.