node-sql-parser
Advanced tools
Comparing version 0.1.2 to 0.1.3
@@ -175,3 +175,3 @@ 'use strict' | ||
if (baseTable.db && baseTable.db !== null) str = `${baseTable.db}.${str}` | ||
if (baseTable.db && baseTable.db !== null) str = `${identifierToSql(baseTable.db)}.${str}` | ||
if (baseTable.as !== null) str = `${str} AS ${identifierToSql(baseTable.as)}` | ||
@@ -187,3 +187,3 @@ | ||
if (joinExpr.table) { | ||
if (joinExpr.db !== null) str = `${str}${joinExpr.db}.` | ||
if (joinExpr.db !== null) str = `${str}${identifierToSql(joinExpr.db)}.` | ||
str = `${str}${identifierToSql(joinExpr.table)}` | ||
@@ -190,0 +190,0 @@ } else { |
{ | ||
"name": "node-sql-parser", | ||
"version": "0.1.2", | ||
"version": "0.1.3", | ||
"description": "simple node sql parser", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
322336