Skip to content
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

[5.6] Make grammars macroable #24513

Merged
merged 1 commit into from
Jun 8, 2018
Merged

[5.6] Make grammars macroable #24513

merged 1 commit into from
Jun 8, 2018

Conversation

morloderex
Copy link
Contributor

@morloderex morloderex commented Jun 8, 2018

I have a situation where i need to extend the default grammar in order to add additional compiled queries e.g replace into for mysql.

But i don't really want to extend a base queryBuilder sense it can be confusing and tidious to deal with extended classes and when the connection has been resovled and all of that stuff.

I could only find tests for the Schema Grammars not the Query grammars is this by design?

So simply making every Grammar macroable is a better approach to this atleast i think.

Signed-off-by: Michael Lundbøl <ml@napp.dk>
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.

None yet

2 participants