This commit is contained in:
Benjamin Toby
2024-11-12 06:52:30 +01:00
parent 31597437a2
commit 106632fdb5
2 changed files with 2 additions and 3 deletions
+1 -2
View File
@@ -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 `${