Skip to content

Commit 3fdcfef

Browse files
committed
Added MassInsert
1 parent 9e01ab7 commit 3fdcfef

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Builder/Insert.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -202,7 +202,7 @@ public function __toString() {
202202
$queryArr[] = trim(trim($this->from), ';');
203203
} else {
204204
$fields = $this->fields;
205-
$tableFields = $this->db()->getTableFields($this->table);
205+
$tableFields = $this->db()->getTableFields($tableName);
206206

207207
$insertData = $this->buildFieldList($fields, $tableFields);
208208

0 commit comments

Comments
 (0)