node-sql-parser
Advanced tools
Comparing version 1.6.5 to 1.6.6
@@ -43,3 +43,3 @@ "use strict"; | ||
const typeCase = database.toLowerCase(); | ||
if (parser[typeCase]) return parser[typeCase](sql); | ||
if (parser[typeCase]) return parser[typeCase](sql.trim()); | ||
throw new Error(`${database} is not supported currently`); | ||
@@ -46,0 +46,0 @@ } |
{ | ||
"name": "node-sql-parser", | ||
"version": "1.6.5", | ||
"version": "1.6.6", | ||
"description": "simple node sql parser", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
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
1444316