Skip to content

Commit

Permalink
Use the query directly, select is now raw
Browse files Browse the repository at this point in the history
  • Loading branch information
antonioribeiro committed Oct 15, 2024
1 parent 07c401b commit f500876
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/Checkers/Database.php
Original file line number Diff line number Diff line change
Expand Up @@ -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";
Expand Down

0 comments on commit f500876

Please sign in to comment.