Replies: 1 comment
-
I've been playing around with implementing this and am very close to a working solution but have come across one issue I can't seem to resolve. Is there a way to test equality between the |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
It would be really convenient if the
Cursor
was able to tell us about the existence of rows preceding or succeeding our current page. This would improve upon the current "convenient" method of making multiple SQL queries, and the less convenient method of building a query withsea-query
.The implementation typically consists of fetching an additional row either side of the page, and checking for their existence to deduce the existence of another page, as detailed in this blog post.
In my mind, the API may look something like:
I'd be happy to make a PR to implement this if there is demand
Beta Was this translation helpful? Give feedback.
All reactions