Skip to content

Commit

Permalink
Merge pull request #30 from timezoneone/hotfix/broken-sql-query
Browse files Browse the repository at this point in the history
Don't set the delete query to a blank string
  • Loading branch information
sunnysideup committed Jan 16, 2024
2 parents 98f794d + 30298ab commit 868a80c
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/Processors/SQLExpressionProcessor.php
Original file line number Diff line number Diff line change
Expand Up @@ -47,9 +47,6 @@ public function process(): int
// Create SQLDelete statement from SQL provided and execute
$delete = $this->getExpression()->toDelete();

// Prevent odd behaviour when table name is turned into a column name several times
$delete->setDelete('');

$delete->execute();

return DB::affected_rows();
Expand Down

0 comments on commit 868a80c

Please sign in to comment.