Pagination divides query results into bounded pages fetched sequentially. A LIMIT sets the page size, while a WHERE clause uses the previous page’s state to find the next rows. section 7.1.3
For example, a restaurant-review application can return 10 article summaries instead of hundreds. With descending TIMEUUID ordering, the next page selects rows whose id is less than the last id returned. ScyllaDB does not support OFFSET because accurately skipping rows would require fully executing the query and discarding results. section 7.1.3
Fetching the next page
Run the first query with LIMIT 2. Then reuse the final row’s id: SELECT id, title FROM article_summaries_by_date WHERE date_bucket = 0 AND id < 9f545786-704b-11ee-b962-0242ac120002 LIMIT 2; This returns the next two summaries.










