@asla/yoursql 0.0.1 → 0.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -7,7 +7,7 @@ export declare abstract class SqlSelectable<T extends TableType> {
|
|
|
7
7
|
abstract toSelect(): string;
|
|
8
8
|
abstract toString(): string;
|
|
9
9
|
/** 保留以推断类型 */
|
|
10
|
-
[SQL_SELECTABLE]:
|
|
10
|
+
[SQL_SELECTABLE]: T;
|
|
11
11
|
}
|
|
12
12
|
/** @public */
|
|
13
13
|
export declare class DbTable<T extends TableType> extends SqlSelectable<T> {
|
|
@@ -8,7 +8,7 @@ export declare class SqlRaw<T = any> {
|
|
|
8
8
|
constructor(value: string);
|
|
9
9
|
toString(): string;
|
|
10
10
|
/** 保留以推断类型 */
|
|
11
|
-
[SQL_RAW]:
|
|
11
|
+
[SQL_RAW]: T;
|
|
12
12
|
}
|
|
13
13
|
/** @public */
|
|
14
14
|
export type JsObjectMapSql = Map<new (...args: any[]) => any, (value: object) => string>;
|