Skip to content

GitHub Issue 1534: Cap row counts for React grid pagination - #225

Open
XingY wants to merge 1 commit into
developfrom
fb_limitMaxCount
Open

GitHub Issue 1534: Cap row counts for React grid pagination#225
XingY wants to merge 1 commit into
developfrom
fb_limitMaxCount

Conversation

@XingY

@XingY XingY commented Sep 9, 2026

Copy link
Copy Markdown
Contributor

Rationale

Add a maxCount request option and a rowCountCapped response field so callers can bound the pagination total-count query instead of always counting exactly. This is the client-API half of the cross-repo change that lets grids report "N+" for very large result sets rather than paying for a full COUNT(*).

Related Pull Requests

Changes

  • Add an optional maxCount parameter to the selectRows and executeSql request options, forwarded to the server only when set (omitted or 0 preserves the existing exact-count behavior).
  • Expose rowCountCapped on the query response, indicating the reported row count is a capped floor rather than an exact total.

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