Skip to content

Add RawQuery #73

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

floristenhove
Copy link
Contributor

This PR introduces a RawQuery, which can be used as a catch-all for any raw query that you want to add to the builder. It accepts an array, which will be added to the query body as-is. This can be used for anything that, at this point in time, is not supported by this package yet.

Feel free to reject this PR as it might go against the idea of creating structured classes for all queries.

@floristenhove floristenhove changed the title Feature/add raw query Add RawQuery Jun 5, 2025
@bram-pkg
Copy link
Collaborator

bram-pkg commented Jun 5, 2025

I'm not sure what @freekmurze thinks, but in my humble opinion I think I'd rather people create Query implementations in their own codebase, rather than promote raw arrays.

If their Query classes are generic enough, I'll gladly accept them into this package.

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