Merge pull request #139 from kilianstallz/kilianstallz-patch-table-rows

Hotfix quote style on delete-table-rows handler
This commit is contained in:
Fabio Di Stasio 2021-11-15 17:01:10 +01:00 committed by GitHub
commit 44a4ca75bd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

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(',');