@ronin/compiler
Advanced tools
Comparing version 0.8.1 to 0.8.2
@@ -109,3 +109,6 @@ // src/utils/helpers.ts | ||
if (value === null) return "NULL"; | ||
if (!statementParams) return JSON.stringify(value); | ||
if (!statementParams) { | ||
const valueString = typeof value === "object" ? JSON.stringify(value) : value.toString(); | ||
return `'${valueString}'`; | ||
} | ||
let formattedValue = value; | ||
@@ -112,0 +115,0 @@ if (Array.isArray(value) || isObject(value)) { |
{ | ||
"name": "@ronin/compiler", | ||
"version": "0.8.1", | ||
"version": "0.8.2", | ||
"type": "module", | ||
@@ -5,0 +5,0 @@ "description": "Compiles RONIN queries to SQL statements.", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
444445
7504