@simplysm/sd-orm-common
Advanced tools
Comparing version 3.5.15 to 3.5.16
@@ -137,2 +137,5 @@ "use strict"; | ||
var q = "SELECT"; | ||
if (def.distinct) { | ||
q += " DISTINCT"; | ||
} | ||
if (this._dialect !== "mysql") { | ||
@@ -143,5 +146,2 @@ if (def.top !== undefined) { | ||
} | ||
if (def.distinct) { | ||
q += " DISTINCT"; | ||
} | ||
if (def.select) { | ||
@@ -148,0 +148,0 @@ q += "\n"; |
@@ -204,2 +204,5 @@ "use strict"; | ||
let q = "SELECT"; | ||
if (def.distinct) { | ||
q += " DISTINCT"; | ||
} | ||
if (this._dialect !== "mysql") { | ||
@@ -210,5 +213,2 @@ if (def.top !== undefined) { | ||
} | ||
if (def.distinct) { | ||
q += " DISTINCT"; | ||
} | ||
if (def.select) { | ||
@@ -215,0 +215,0 @@ q += "\n"; |
{ | ||
"name": "@simplysm/sd-orm-common", | ||
"version": "3.5.15", | ||
"version": "3.5.16", | ||
"description": "심플리즘 패키지 - ORM 모듈 (browser/node)", | ||
@@ -13,4 +13,4 @@ "author": "김석래", | ||
"dependencies": { | ||
"@simplysm/sd-core-common": "3.5.15" | ||
"@simplysm/sd-core-common": "3.5.16" | ||
} | ||
} |
@@ -13,3 +13,4 @@ import { | ||
IGetTableInfoDef, | ||
IInsertQueryDef, IJoinQueryDef, | ||
IInsertQueryDef, | ||
IJoinQueryDef, | ||
IModifyColumnQueryDef, | ||
@@ -270,2 +271,6 @@ IQueryColumnDef, | ||
if (def.distinct) { | ||
q += " DISTINCT"; | ||
} | ||
if (this._dialect !== "mysql") { | ||
@@ -277,6 +282,2 @@ if (def.top !== undefined) { | ||
if (def.distinct) { | ||
q += " DISTINCT"; | ||
} | ||
// SELECT FIELDS | ||
@@ -283,0 +284,0 @@ |
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
600295
8873
+ Added@simplysm/sd-core-common@3.5.16(transitive)
- Removed@simplysm/sd-core-common@3.5.15(transitive)