From 106632fdb52ce194e180d62a0318ef74cd5ccba3 Mon Sep 17 00:00:00 2001 From: Benjamin Toby Date: Tue, 12 Nov 2024 06:52:30 +0100 Subject: [PATCH] Updates --- functions/sql/sql-generator.js | 3 +-- package.json | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) 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": {