fastapi-pagination
fastapi-pagination copied to clipboard
Cursor base pagination
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