Note: You're probably looking for Scrivener.Ecto. Have a look there first.
Scrivener is a pagination library for the Elixir ecosystem. You most likely won't use Scrivener directly, instead using a library that implements Scrivener's Paginater protocol for the type of data you're trying to paginate.
The primary use for Scrivener is the pagination of Ecto queries. For more information, see Scrivener.Ecto.
This library is in low maintenance mode, which means the author is currently only responding to pull requests and breaking issues.
Add scrivener to your mix.exs applications and dependencies.
def application do
[applications: [:scrivener]]
end
[{:scrivener, "~> 2.0"}]
You can run the tests with the following command:
mix test
3,656 followers · starred Feb 2015
545 followers · starred Apr 2016
818 followers · starred Nov 2017
68 followers · starred Apr 2016
Note: You're probably looking for Scrivener.Ecto. Have a look there first.
Scrivener is a pagination library for the Elixir ecosystem. You most likely won't use Scrivener directly, instead using a library that implements Scrivener's Paginater protocol for the type of data you're trying to paginate.
The primary use for Scrivener is the pagination of Ecto queries. For more information, see Scrivener.Ecto.
This library is in low maintenance mode, which means the author is currently only responding to pull requests and breaking issues.
Add scrivener to your mix.exs applications and dependencies.
def application do
[applications: [:scrivener]]
end
[{:scrivener, "~> 2.0"}]
You can run the tests with the following command:
mix test
3,656 followers · starred Feb 2015
545 followers · starred Apr 2016
818 followers · starred Nov 2017
68 followers · starred Apr 2016