We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2f93871 commit af7269aCopy full SHA for af7269a
src/ServiceProvider.php
@@ -25,7 +25,7 @@ public function boot()
25
{
26
Log::info('============ URL: '.request()->fullUrl().' ===============');
27
DB::listen(function (QueryExecuted $query) {
28
- $sqlWithPlaceholders = str_replace(['?','%'], ['%s','%%'], $query->sql);
+ $sqlWithPlaceholders = str_replace(['%', '?'], ['%%', '%s'], $query->sql);
29
30
$bindings = $query->connection->prepareBindings($query->bindings);
31
$pdo = $query->connection->getPdo();
0 commit comments