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

Call setConnection() when creating the grammar #15

Merged
merged 1 commit into from
Aug 24, 2023

Conversation

Diegslapasteque
Copy link

@Diegslapasteque Diegslapasteque commented Jul 19, 2023

Hi,
With the new toRawSql(), dumpRawSql() and ddRawSql() added in Laravel 10.15 (#47507), custom connections needs to call the method setConnection() when instantiating the query grammar.

@Diegslapasteque
Copy link
Author

Hi @lucabecchetti,
Can you take a look at this please? It will really help us.

Thank you 🙏

@lucabecchetti lucabecchetti merged commit f356cd1 into lucabecchetti:master Aug 24, 2023
@Diegslapasteque
Copy link
Author

Hi @lucabecchetti,
Can you please create a new tag with the code from this PR please?
It will allow us to get the new version in our project using composer easily.

Thank you!

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