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

Hotfix quote style on delete-table-rows handler

Use single quote as intended for ID in delete query.
This commit is contained in:
Kilian Stallinger
2021-11-15 16:21:09 +01:00
committed by GitHub
parent 60e5556a3e
commit c8e1605b08

View File

@ -188,7 +188,7 @@ export default (connections) => {
const fieldName = Object.keys(row)[0].includes('.') ? `${params.table}.${params.primary}` : params.primary;
return typeof row[fieldName] === 'string'
? `"${row[fieldName]}"`
? `'${row[fieldName]}'`
: row[fieldName];
}).join(',');