Comparing version 5.0.1 to 5.0.2
@@ -53,3 +53,3 @@ 'use strict'; | ||
for (const node of select.nodes) { | ||
const name = node.alias || node.name; | ||
const name = node.alias || node.property || node.name; | ||
const col = new column_1.Column(node); | ||
@@ -56,0 +56,0 @@ col.name = name; |
@@ -50,3 +50,3 @@ 'use strict'; | ||
for (const node of select.nodes) { | ||
const name = node.alias || node.name; | ||
const name = node.alias || node.property || node.name; | ||
const col = new Column(node); | ||
@@ -53,0 +53,0 @@ col.name = name; |
@@ -8,3 +8,3 @@ { | ||
"description": "SQL Builder", | ||
"version": "5.0.1", | ||
"version": "5.0.2", | ||
"homepage": "https://github.com/charsleysa/node-sql-ts", | ||
@@ -11,0 +11,0 @@ "license": "MIT", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
693205