@simplysm/sd-orm-common
Advanced tools
Comparing version 3.5.22 to 3.5.24
@@ -16,3 +16,3 @@ import { DbContext } from "./DbContext"; | ||
constructor(db: D, tableType: Type<T> | undefined, as: string | undefined, entity: TEntity<T>, defs: IQueryableDef); | ||
static union<D extends DbContext, T>(qrs: Queryable<D, T>[], as?: string): Queryable<D, T>; | ||
static union<ND extends DbContext, NT>(qrs: Queryable<ND, NT>[], as?: string): Queryable<ND, NT>; | ||
select<R>(fwd: (entity: TEntity<T>) => TEntity<R>): Queryable<D, R>; | ||
@@ -19,0 +19,0 @@ where(predicate: (entity: TEntity<T>) => TEntityValueOrQueryableOrArray<D, any>[]): Queryable<D, T>; |
{ | ||
"name": "@simplysm/sd-orm-common", | ||
"version": "3.5.22", | ||
"version": "3.5.24", | ||
"description": "심플리즘 패키지 - ORM 모듈 (browser/node)", | ||
@@ -13,4 +13,4 @@ "author": "김석래", | ||
"dependencies": { | ||
"@simplysm/sd-core-common": "3.5.22" | ||
"@simplysm/sd-core-common": "3.5.24" | ||
} | ||
} |
@@ -111,3 +111,3 @@ import { DbContext } from "./DbContext"; | ||
public static union<D extends DbContext, T>(qrs: Queryable<D, T>[], as?: string): Queryable<D, T> { | ||
public static union<ND extends DbContext, NT>(qrs: Queryable<ND, NT>[], as?: string): Queryable<ND, NT> { | ||
const db = qrs[0].db; | ||
@@ -117,3 +117,3 @@ const cqrs = qrs.map(item => new Queryable(db, item)); | ||
// Init entity | ||
const entity = {} as TEntity<T>; | ||
const entity = {} as TEntity<NT>; | ||
for (const entityKey of Object.keys(cqrs[0]._entity)) { | ||
@@ -120,0 +120,0 @@ const entityValue = cqrs[0]._entity[entityKey]; |
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
626314
42
+ Added@simplysm/sd-core-common@3.5.24(transitive)
- Removed@simplysm/sd-core-common@3.5.22(transitive)