Use paginate_and_retrieve! for keyset pagination
* API::Helpers::Pagination#paginate only exposes offset pagination * API::Helpers::Pagination#paginate_and_retrieve! supports both types I wanted to make it explicit that keyset pagination returns an array instead of a relation. This does not match the behavior of offset pagination, hence not mixing those in #paginate.
Showing
Please register or sign in to comment