@simplysm/orm-node 13.0.100 → 14.0.1
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.
- package/dist/connections/mssql-db-conn.d.ts +5 -5
- package/dist/connections/mssql-db-conn.js +356 -369
- package/dist/connections/mssql-db-conn.js.map +1 -6
- package/dist/connections/mysql-db-conn.d.ts +3 -3
- package/dist/connections/mysql-db-conn.js +227 -215
- package/dist/connections/mysql-db-conn.js.map +1 -6
- package/dist/connections/postgresql-db-conn.d.ts +3 -3
- package/dist/connections/postgresql-db-conn.js +185 -183
- package/dist/connections/postgresql-db-conn.js.map +1 -6
- package/dist/create-db-conn.d.ts +3 -3
- package/dist/create-db-conn.js +43 -27
- package/dist/create-db-conn.js.map +1 -6
- package/dist/create-orm.d.ts +18 -18
- package/dist/create-orm.js +62 -31
- package/dist/create-orm.js.map +1 -6
- package/dist/index.js +4 -1
- package/dist/index.js.map +1 -6
- package/dist/node-db-context-executor.d.ts +28 -28
- package/dist/node-db-context-executor.js +125 -117
- package/dist/node-db-context-executor.js.map +1 -6
- package/dist/types/db-conn.d.ts +37 -37
- package/dist/types/db-conn.js +26 -17
- package/dist/types/db-conn.js.map +1 -6
- package/package.json +9 -9
- package/src/connections/mssql-db-conn.ts +22 -22
- package/src/connections/mysql-db-conn.ts +27 -27
- package/src/connections/postgresql-db-conn.ts +16 -16
- package/src/create-db-conn.ts +7 -7
- package/src/create-orm.ts +21 -21
- package/src/index.ts +3 -3
- package/src/node-db-context-executor.ts +32 -32
- package/src/types/db-conn.ts +40 -40
- package/README.md +0 -227
|
@@ -2,9 +2,9 @@ import { EventEmitter } from "@simplysm/core-common";
|
|
|
2
2
|
import type { ColumnMeta, IsolationLevel } from "@simplysm/orm-common";
|
|
3
3
|
import { type DbConn, type MssqlDbConnConfig } from "../types/db-conn";
|
|
4
4
|
/**
|
|
5
|
-
* MSSQL
|
|
5
|
+
* MSSQL 데이터베이스 연결 클래스
|
|
6
6
|
*
|
|
7
|
-
*
|
|
7
|
+
* tedious 라이브러리를 사용하여 MSSQL/Azure SQL 연결을 관리한다.
|
|
8
8
|
*/
|
|
9
9
|
export declare class MssqlDbConn extends EventEmitter<{
|
|
10
10
|
close: void;
|
|
@@ -34,10 +34,10 @@ export declare class MssqlDbConn extends EventEmitter<{
|
|
|
34
34
|
private _convertColumnMetaToTediousBulkColumnDef;
|
|
35
35
|
private _convertDataTypeToTediousBulkColumnType;
|
|
36
36
|
/**
|
|
37
|
-
*
|
|
37
|
+
* 값의 타입을 추론하여 Tedious 데이터 타입을 반환한다
|
|
38
38
|
*
|
|
39
|
-
* @param value -
|
|
40
|
-
* @throws
|
|
39
|
+
* @param value - 타입을 추론할 값 (null/undefined 전달 시 오류 발생)
|
|
40
|
+
* @throws null/undefined 전달 시 오류
|
|
41
41
|
*/
|
|
42
42
|
private _guessTediousType;
|
|
43
43
|
}
|