fastapi-pagination icon indicating copy to clipboard operation
fastapi-pagination copied to clipboard

Cursor base pagination

Open fruch opened this issue 3 years ago • 0 comments

In some cases, paging by page number isn't exactly accurate (fast pacing changing data)

I would be nice to have some example on how to do those kind of paging (with the databases that support those):

this is almost there (but without utilizing any db capabilities for that): https://pypi.org/project/fastapi-pagination-utilities/

library doing so for sqlalchemy: https://github.com/djrobstep/sqlakeyset

fruch avatar Sep 12 '22 07:09 fruch