Skip to content

bug fix select pagination for multi-column results#1424

Closed
hxzhao527 wants to merge 1 commit intopallets-eco:mainfrom
hxzhao527:main
Closed

bug fix select pagination for multi-column results#1424
hxzhao527 wants to merge 1 commit intopallets-eco:mainfrom
hxzhao527:main

Conversation

@hxzhao527
Copy link
Copy Markdown

Return full result rows from SelectPagination instead of scalar values so paginated select queries preserve all selected columns.

fix #1423

Return full result rows from SelectPagination instead of scalar values so paginated select queries preserve all selected columns.
@hxzhao527 hxzhao527 changed the title fix select pagination for multi-column results bug fix select pagination for multi-column results Apr 18, 2026
@davidism
Copy link
Copy Markdown
Member

This breaks the much more common case of selecting a single model and getting back a list of instances instead of tuples. It needs to support both, which is the problem, since that's no longer possible to detect with public SQLAlchemy APIs.

@davidism davidism closed this Apr 18, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

paginate with join failed

2 participants