Skip to content

Use flask-sqlalchemy pagination in GenericQuery#66

Draft
jacquesfize wants to merge 2 commits intodevelopfrom
fix/rename-offset-param
Draft

Use flask-sqlalchemy pagination in GenericQuery#66
jacquesfize wants to merge 2 commits intodevelopfrom
fix/rename-offset-param

Conversation

@jacquesfize
Copy link
Contributor

@jacquesfize jacquesfize commented Sep 12, 2025

This PR propose to change the pagination process by using the method implemented by flask-sqlalchemy.

Unfortunately, a fix is necessary on flasksqlalchemy to make it work with a large variety of queries. An issue already exists on the subject --> pallets-eco/flask-sqlalchemy#1168 The found solution was proposed in the latter.

CHECKLIST:

  • Add test for the new pagination
  • Test the new method in different contexts

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant