Closed AmirHossein closed 1 year ago
@AmirHossein Thanks for raising this issue. This change doesn't work with older versions of Laravel. Can you fix it?
@AdalbertMemSQL Changes on Connection including rawSql methods were introduced on Laravel 10. I updated PR to avoid error on other versions.
Illuminate\Database\Grammer::escape
functionality moved toIlluminate\Database\Connection::escape
(commit) and it needsconnection
instance to work. It used in toRawSql, dumpRawSql() and ddRawSql() new methods (#47507)