bulk inserter - fixes for mysql and postgres

This commit is contained in:
Jan Prochazka
2020-09-28 14:33:47 +02:00
parent 29a7b68b59
commit 6548400b96
6 changed files with 13 additions and 8 deletions

View File

@@ -6,7 +6,7 @@ const MySqlDumper = require('./MySqlDumper');
const dialect = {
rangeSelect: true,
stringEscapeChar: '\\',
fallbackDataType: 'nvarchar(max)',
fallbackDataType: 'longtext',
quoteIdentifier(s) {
return '`' + s + '`';
},