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

[7.x] Add getGrammar into passthru in Eloquent builder #32412

Merged
merged 1 commit into from
Apr 17, 2020

Conversation

miklcct
Copy link
Contributor

@miklcct miklcct commented Apr 17, 2020

This fix a bug when getGrammar() is called on the Eloquent builder which should be passed thru but not.

@GrahamCampbell
Copy link
Member

What is your use case for needing the grammar?

@miklcct
Copy link
Contributor Author

miklcct commented Apr 17, 2020

I need the grammar to build some raw SQL in order to have custom expression in select or where clauses with columns specified.

@GrahamCampbell GrahamCampbell changed the title [7.x] add getGrammar into passthru in Eloquent builder [7.x] Add getGrammar into passthru in Eloquent builder Apr 17, 2020
@taylorotwell taylorotwell merged commit ca71214 into laravel:7.x Apr 17, 2020
@miklcct miklcct deleted the getGrammar_passthru branch April 26, 2020 06:27
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.

3 participants