Skip to content

Conversation

@innocenzi
Copy link
Member

This pull request adds the ability to create a query builder from another one, by adding a new static constructor to each of them.

I had to introduce a new SupportsWhereStatements interface as well to expose the bindings and model from BuildsQuery. For the bindings, it definitely makes sense—for the model however, it could feel out of place for such an interface. But given that all BuildsQuery implementations have one, I think it's fine?

This PR was required to fix #1720

@brendt brendt merged commit 55204a0 into main Nov 20, 2025
74 checks passed
@brendt
Copy link
Member

brendt commented Nov 20, 2025

Looking good! Eventually I'd like to clean up the query builders some more, but for now this approach makes sense.

@brendt brendt deleted the feat/new-builder branch November 20, 2025 09:12
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.

Query pagination runs agains all records

3 participants