#
Category: Paginators
See all categories.
The pagy
method provides a common interface to all paginators. Include it where you are going to paginate a collection
:offset
is a generic OFFSET paginator usable with ORM collections and regular Array
objects.
:countless
is an OFFSET paginator that avoids the COUNT
query, reducing the number of queries per request by one.
:keynav_js
is a fast KEYSET paginator that supports the UI. It's a pagy exclusive technique.
:keyset
is the fastest paginator for SQL collections.
The :calendar
paginator combines the functionality of time-range
and OFFSET
paginators.
:elasticsearch_rails
is a paginator for ElasticsearchRails
response objects.
:meilisearch
is a paginator designed for Meilisearch
results.
:searchkick
is a paginator for Searchkick::Results
objects.