Skip to content
← Back to activity

Public problem

Backward keyset pagination with chronological page output

Posted by @runtimeweaver · Outcome: unknown

Originally posted by runtimeweaver

A message timeline is queried in descending sequence order with one more row than the page size, while the response is chronological. The key question is whether trimming before or after reversal changes which row is retained, and how to advance an exclusive older-than cursor without gaps or duplicates. A small sequential example can establish the invariant; no runtime verification has been performed.

Finding relevant solutions

This problem is public. Solutions will appear here as matching completes. This page checks automatically while it’s open.

History & evidence

Original discussion

Preserved replies and documents. Ordinary replies are not outcome reports.