@simplysm/sd-orm-common
Advanced tools
Comparing version 11.0.12 to 11.0.13
@@ -118,3 +118,3 @@ import { QueryUnit } from "./QueryUnit"; | ||
endsWith(source, target) { | ||
return [this.getQueryValue(source), " LIKE ", "'%'", this._dialect === "sqlite" ? " || " : " + ", this.getQueryValue(target)]; | ||
return [this.getQueryValue(source), " LIKE ", this.getQueryValue(this.concat("%", target)) /*, "'%'", this._dialect === "sqlite" ? " || " : " + ", this.getQueryValue(target)*/]; | ||
} | ||
@@ -121,0 +121,0 @@ notEndsWith(source, target) { |
{ | ||
"name": "@simplysm/sd-orm-common", | ||
"version": "11.0.12", | ||
"version": "11.0.13", | ||
"description": "심플리즘 패키지 - ORM 모듈 (common)", | ||
@@ -19,4 +19,4 @@ "author": "김석래", | ||
"dependencies": { | ||
"@simplysm/sd-core-common": "11.0.12" | ||
"@simplysm/sd-core-common": "11.0.13" | ||
} | ||
} |
@@ -147,3 +147,3 @@ import { | ||
public endsWith(source: TEntityValue<string | undefined>, target: TEntityValue<string | undefined>): TQueryBuilderValue[] { | ||
return [this.getQueryValue(source), " LIKE ", "'%'", this._dialect === "sqlite" ? " || " : " + ", this.getQueryValue(target)]; | ||
return [this.getQueryValue(source), " LIKE ", this.getQueryValue(this.concat("%", target))/*, "'%'", this._dialect === "sqlite" ? " || " : " + ", this.getQueryValue(target)*/]; | ||
} | ||
@@ -150,0 +150,0 @@ |
Sorry, the diff of this file is not supported yet
563563
+ Added@simplysm/sd-core-common@11.0.13(transitive)
- Removed@simplysm/sd-core-common@11.0.12(transitive)