diff --git a/functions/sql/sql-generator.js b/functions/sql/sql-generator.js index 572be04..f1668cc 100644 --- a/functions/sql/sql-generator.js +++ b/functions/sql/sql-generator.js @@ -71,8 +71,7 @@ function sqlGenerator({ tableName, genObject }) { typeof mtch.source == "object" ? mtch.source.fieldName : mtch.source }=${(() => { if (mtch.targetLiteral) { - sqlSearhValues.push(mtch.targetLiteral); - return "?"; + return `'${mtch.targetLiteral}'`; } return `${ diff --git a/package.json b/package.json index 716ae84..1f0c662 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@moduletrace/datasquirel", - "version": "2.5.8", + "version": "2.5.9", "description": "Cloud-based SQL data management tool", "main": "index.js", "bin": {