Skip to content

Commit f1f5c89

Browse files
Insert generates invalid SQL when multiple rows and values passed
Signed-off-by: Balint Balku <[email protected]>
1 parent 83c07df commit f1f5c89

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

index.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -487,6 +487,8 @@ var Base = Class.extend({
487487
} else {
488488
values_part[i] += valueArray[i][index];
489489
}
490+
491+
values_part[i] += ',';
490492
}
491493
} else {
492494
if (typeof valueArray[index] === 'string') {

0 commit comments

Comments
 (0)