Skip to content

Commit

Permalink
Remove redundant check
Browse files Browse the repository at this point in the history
  • Loading branch information
Tigrov committed Apr 14, 2024
1 parent b9ff4ba commit 24c277c
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/QueryBuilder/AbstractDMLQueryBuilder.php
Original file line number Diff line number Diff line change
Expand Up @@ -75,10 +75,6 @@ public function batchInsert(string $table, array $columns, iterable $rows, array
$columns = $this->extractColumnNames($rows, $columns);
$values = $this->prepareBatchInsertValues($table, $rows, $columns, $params);

if (empty($values)) {
return '';
}

$query = 'INSERT INTO ' . $this->quoter->quoteTableName($table);

if (count($columns) > 0) {
Expand Down

0 comments on commit 24c277c

Please sign in to comment.