Skip to content

[v4][Pagination] Use DB pagination instead of array#14347

Open
Mohamad-Mortada wants to merge 1 commit into
mainfrom
mo-replace-paginate_cursor-with-paginate_relation
Open

[v4][Pagination] Use DB pagination instead of array#14347
Mohamad-Mortada wants to merge 1 commit into
mainfrom
mo-replace-paginate_cursor-with-paginate_relation

Conversation

@Mohamad-Mortada

Copy link
Copy Markdown
Member

Most controllers use paginate_cursor which uses array pagination. However, db pagination is a lot more efficient so I moved most (not all cuz some dont work for it e.g /transactions) to use paginate_relation

@Mohamad-Mortada
Mohamad-Mortada requested a review from a team July 17, 2026 18:54
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