Skip to content

QueryModelLoader: use selectRows - #2070

Merged
labkey-nicka merged 10 commits into
developfrom
fb_query_model_select_rows
Sep 1, 2026
Merged

QueryModelLoader: use selectRows#2070
labkey-nicka merged 10 commits into
developfrom
fb_query_model_select_rows

Conversation

@labkey-nicka

@labkey-nicka labkey-nicka commented Aug 29, 2026

Copy link
Copy Markdown
Contributor

Rationale

This switches the QueryModelLoader to use selectRows() instead of selectRowsDeprecated(). I've prioritized keeping the interface/contract with the QueryModel the same (i.e., the orderedRows: string[] and the rows: Record<string, Row>).

Related Pull Requests

Changes

  • Extract resolveRowKey() to have common processing for resolving the key from metadata
  • Improve type ISelectRowsResult to be more deeply expressed
  • Pass metaData through selectRows
  • Convert GridMessage to SelectRowsMessage

@labkey-nicka labkey-nicka self-assigned this Aug 29, 2026

@labkey-alan labkey-alan left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I left some minor nits

Comment thread packages/components/src/internal/query/api.ts Outdated
Comment thread packages/components/src/public/QueryModel/QueryModelLoader.ts Outdated
@labkey-nicka
labkey-nicka merged commit 9c8008d into develop Sep 1, 2026
3 checks passed
@labkey-nicka
labkey-nicka deleted the fb_query_model_select_rows branch September 1, 2026 23:38
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.

2 participants