README.md

# EctoMultitenantPaginator

Ecto Paginator based almost completetly on [Scrivener](https://github.com/drewolson/scrivener) and [Scrivener.Ecto](https://github.com/drewolson/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](https://github.com/drewolson) and [Contributors](https://github.com/drewolson/scrivener/graphs/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.

## Installation

If [available in Hex](https://hex.pm/docs/publish), the package can be installed
by adding `ecto_multitenant_paginator` to your list of dependencies in `mix.exs`:

```elixir
def deps do
  [
    {:ecto_multitenant_paginator, "~> 0.1.0"}
  ]
end
```

Documentation can be generated with [ExDoc](https://github.com/elixir-lang/ex_doc)
and published on [HexDocs](https://hexdocs.pm). Once published, the docs can
be found at [https://hexdocs.pm/ecto_multitenant_paginator](https://hexdocs.pm/ecto_multitenant_paginator).