#
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 or regular Array objects.
:countish is an OFFSET paginator that memoizes the result of the COUNT query, running it only once per collection (instead of once per page), and...
:countless is an OFFSET paginator that avoids the COUNT query, reducing the number of queries per page in half.
:keyset is the fastest paginator for SQL collections.
:keynav_js is a fast KEYSET paginator that supports the UI. It's a pagy exclusive technique.
The :calendar paginator combines the functionality of time-range with the OFFSET pagination.
: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.