Skip to content

fix(pagination): eliminate redundant sync COUNT query#77

Merged
Erlend Ellefsen (erlendellefsen) merged 1 commit into
mainfrom
fix/pagination-sync-count
Jan 25, 2026
Merged

fix(pagination): eliminate redundant sync COUNT query#77
Erlend Ellefsen (erlendellefsen) merged 1 commit into
mainfrom
fix/pagination-sync-count

Conversation

@erlendellefsen

Copy link
Copy Markdown
Collaborator
  • Pass pre-computed totalCount to ApplyPagination to avoid second COUNT query
  • Add CreatePaginationMeta() as single source of truth for pagination math

- Pass pre-computed totalCount to ApplyPagination to avoid second COUNT query
- Add CreatePaginationMeta() as single source of truth for pagination math
Copilot AI review requested due to automatic review settings January 25, 2026 00:03
@erlendellefsen Erlend Ellefsen (erlendellefsen) merged commit cd4d84f into main Jan 25, 2026
6 checks passed
@erlendellefsen Erlend Ellefsen (erlendellefsen) deleted the fix/pagination-sync-count branch January 25, 2026 00:04
Erlend Ellefsen (erlendellefsen) pushed a commit that referenced this pull request Jan 25, 2026
🤖 I have created a release *beep* *boop*
---


##
[1.5.1](v1.5.0...v1.5.1)
(2026-01-25)


### Bug Fixes

* **pagination:** eliminate redundant sync COUNT query
([#77](#77))
([cd4d84f](cd4d84f))

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).

Co-authored-by: intility-release-bot[bot] <175299729+intility-release-bot[bot]@users.noreply.github.com>
@erlendellefsen Erlend Ellefsen (erlendellefsen) removed the request for review from Copilot March 23, 2026 23:08
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