lucabecchetti / laravel-mysql-partition

Useful Laravel package to easily work with MySQL Partition
Other
139 stars 23 forks source link

Call setConnection() when creating the grammar #15

Closed Diegslapasteque closed 1 year ago

Diegslapasteque commented 1 year ago

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 commented 1 year ago

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

Thank you 🙏

Diegslapasteque commented 11 months ago

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!