Ecto Paginator based almost completetly on Scrivener and Scrivener.Ecto with added ability to add prefix opion for repo, when multi tenancy is used, and all compressed into single package. All credits due go to Drew Olson and Contributors
This packacge is a quick solution for persistent problem in particular not Open Source project, although anyone is free to use it, but first check up on original packiage: Scrivener.Ecto.
If available in Hex, the package can be installed
by adding ecto_multitenant_paginator
to your list of dependencies in mix.exs
:
def deps do
[
{:ecto_multitenant_paginator, "~> 0.1.0"}
]
end
Documentation can be generated with ExDoc and published on HexDocs. Once published, the docs can be found at https://hexdocs.pm/ecto_multitenant_paginator.