1
1
mirror of https://github.com/Fabio286/antares.git synced 2025-06-05 21:59:22 +02:00

fix: support of bit fields in table filler

This commit is contained in:
2021-02-18 15:26:17 +01:00
parent 014257147e
commit 94c4952319
3 changed files with 8 additions and 1 deletions

View File

@ -232,6 +232,8 @@ export default (connections) => {
else
escapedParam = '""';
}
else if (BIT.includes(type))
escapedParam = `b'${sqlEscaper(params.row[key].value)}'`;
else
escapedParam = `"${sqlEscaper(params.row[key].value)}"`;