From f500876d69100f91049cfbcc2159a5ddb6f7c306 Mon Sep 17 00:00:00 2001 From: Antonio Carlos Ribeiro Date: Tue, 15 Oct 2024 14:52:26 +0200 Subject: [PATCH] Use the query directly, select is now raw --- src/Checkers/Database.php | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/Checkers/Database.php b/src/Checkers/Database.php index 4a811820..4a39472b 100644 --- a/src/Checkers/Database.php +++ b/src/Checkers/Database.php @@ -51,9 +51,7 @@ protected function rawQuery() { Timer::start(); - DB::connection($this->getConnectionName())->select( - DB::raw($this->target->query) - ); + DB::connection($this->getConnectionName())->select($this->target->query); $took = round(Timer::stop(), 5); $tookHuman = "{$took}s";