Skip to content

Does Cozo support pagination? Keyset pagination? #209

Answered by andrewbaxter
andrewbaxter asked this question in Q&A
Discussion options

You must be logged in to vote

Oh thanks, yeah! I actually just saw that the other day.

I was specifically interested in keyset pagination to avoid missed/duplicate results when fetching large sets of data while the data is changing.

There is result ordering too though. So I guess you could probably order it then grab the key from the last entry and make the next query with > key? I assume it fetches the whole result set on the server before doing that, but at least maybe not all of it would go over the wire.

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@andrewbaxter
Comment options

Answer selected by andrewbaxter
@aramallo
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants