@simplysm/orm-node 13.0.0-beta.16 → 13.0.0-beta.18
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.js +1 -1
- package/dist/connections/mysql-db-conn.js +1 -1
- package/dist/connections/postgresql-db-conn.js +1 -1
- package/dist/db-conn-factory.js +4 -4
- package/dist/index.js +8 -8
- package/dist/node-db-context-executor.js +2 -2
- package/dist/pooled-db-conn.js +1 -1
- package/dist/sd-orm.js +1 -1
- package/package.json +3 -3
|
@@ -10,7 +10,7 @@ import {
|
|
|
10
10
|
Uuid,
|
|
11
11
|
waitUntil
|
|
12
12
|
} from "@simplysm/core-common";
|
|
13
|
-
import { DB_CONN_DEFAULT_TIMEOUT, DB_CONN_ERRORS } from "../types/db-conn";
|
|
13
|
+
import { DB_CONN_DEFAULT_TIMEOUT, DB_CONN_ERRORS } from "../types/db-conn.js";
|
|
14
14
|
const logger = createConsola().withTag("mssql-db-conn");
|
|
15
15
|
class MssqlDbConn extends EventEmitter {
|
|
16
16
|
constructor(_tedious, config) {
|
|
@@ -13,7 +13,7 @@ import {
|
|
|
13
13
|
Time,
|
|
14
14
|
Uuid
|
|
15
15
|
} from "@simplysm/core-common";
|
|
16
|
-
import { DB_CONN_DEFAULT_TIMEOUT, DB_CONN_ERRORS } from "../types/db-conn";
|
|
16
|
+
import { DB_CONN_DEFAULT_TIMEOUT, DB_CONN_ERRORS } from "../types/db-conn.js";
|
|
17
17
|
const logger = createConsola().withTag("mysql-db-conn");
|
|
18
18
|
class MysqlDbConn extends EventEmitter {
|
|
19
19
|
constructor(_mysql2, config) {
|
|
@@ -10,7 +10,7 @@ import {
|
|
|
10
10
|
Time,
|
|
11
11
|
Uuid
|
|
12
12
|
} from "@simplysm/core-common";
|
|
13
|
-
import { DB_CONN_DEFAULT_TIMEOUT, DB_CONN_ERRORS } from "../types/db-conn";
|
|
13
|
+
import { DB_CONN_DEFAULT_TIMEOUT, DB_CONN_ERRORS } from "../types/db-conn.js";
|
|
14
14
|
const logger = createConsola().withTag("postgresql-db-conn");
|
|
15
15
|
class PostgresqlDbConn extends EventEmitter {
|
|
16
16
|
constructor(_pg, _pgCopyFrom, config) {
|
package/dist/db-conn-factory.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { createPool } from "generic-pool";
|
|
2
|
-
import { PooledDbConn } from "./pooled-db-conn";
|
|
3
|
-
import { MysqlDbConn } from "./connections/mysql-db-conn";
|
|
4
|
-
import { MssqlDbConn } from "./connections/mssql-db-conn";
|
|
5
|
-
import { PostgresqlDbConn } from "./connections/postgresql-db-conn";
|
|
2
|
+
import { PooledDbConn } from "./pooled-db-conn.js";
|
|
3
|
+
import { MysqlDbConn } from "./connections/mysql-db-conn.js";
|
|
4
|
+
import { MssqlDbConn } from "./connections/mssql-db-conn.js";
|
|
5
|
+
import { PostgresqlDbConn } from "./connections/postgresql-db-conn.js";
|
|
6
6
|
class DbConnFactory {
|
|
7
7
|
// 설정별 커넥션 풀 캐싱
|
|
8
8
|
static _poolMap = /* @__PURE__ */ new Map();
|
package/dist/index.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
export * from "./types/db-conn";
|
|
2
|
-
export * from "./connections/mssql-db-conn";
|
|
3
|
-
export * from "./connections/mysql-db-conn";
|
|
4
|
-
export * from "./connections/postgresql-db-conn";
|
|
5
|
-
export * from "./db-conn-factory";
|
|
6
|
-
export * from "./node-db-context-executor";
|
|
7
|
-
export * from "./pooled-db-conn";
|
|
8
|
-
export * from "./sd-orm";
|
|
1
|
+
export * from "./types/db-conn.js";
|
|
2
|
+
export * from "./connections/mssql-db-conn.js";
|
|
3
|
+
export * from "./connections/mysql-db-conn.js";
|
|
4
|
+
export * from "./connections/postgresql-db-conn.js";
|
|
5
|
+
export * from "./db-conn-factory.js";
|
|
6
|
+
export * from "./node-db-context-executor.js";
|
|
7
|
+
export * from "./pooled-db-conn.js";
|
|
8
|
+
export * from "./sd-orm.js";
|
|
9
9
|
//# sourceMappingURL=index.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { SdError } from "@simplysm/core-common";
|
|
2
2
|
import { createQueryBuilder, parseQueryResult } from "@simplysm/orm-common";
|
|
3
|
-
import { DB_CONN_ERRORS, getDialectFromConfig } from "./types/db-conn";
|
|
4
|
-
import { DbConnFactory } from "./db-conn-factory";
|
|
3
|
+
import { DB_CONN_ERRORS, getDialectFromConfig } from "./types/db-conn.js";
|
|
4
|
+
import { DbConnFactory } from "./db-conn-factory.js";
|
|
5
5
|
class NodeDbContextExecutor {
|
|
6
6
|
constructor(_config) {
|
|
7
7
|
this._config = _config;
|
package/dist/pooled-db-conn.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { createConsola } from "consola";
|
|
2
2
|
import { SdError, EventEmitter } from "@simplysm/core-common";
|
|
3
|
-
import { DB_CONN_ERRORS } from "./types/db-conn";
|
|
3
|
+
import { DB_CONN_ERRORS } from "./types/db-conn.js";
|
|
4
4
|
const logger = createConsola().withTag("pooled-db-conn");
|
|
5
5
|
class PooledDbConn extends EventEmitter {
|
|
6
6
|
constructor(_pool, _initialConfig) {
|
package/dist/sd-orm.js
CHANGED
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@simplysm/orm-node",
|
|
3
3
|
"sideEffects": false,
|
|
4
|
-
"version": "13.0.0-beta.
|
|
4
|
+
"version": "13.0.0-beta.18",
|
|
5
5
|
"description": "심플리즘 패키지 - ORM 모듈 (node)",
|
|
6
6
|
"author": "김석래",
|
|
7
7
|
"repository": {
|
|
@@ -19,8 +19,8 @@
|
|
|
19
19
|
"dependencies": {
|
|
20
20
|
"consola": "^3.4.2",
|
|
21
21
|
"generic-pool": "^3.9.0",
|
|
22
|
-
"@simplysm/core-common": "13.0.0-beta.
|
|
23
|
-
"@simplysm/orm-common": "13.0.0-beta.
|
|
22
|
+
"@simplysm/core-common": "13.0.0-beta.18",
|
|
23
|
+
"@simplysm/orm-common": "13.0.0-beta.18"
|
|
24
24
|
},
|
|
25
25
|
"devDependencies": {
|
|
26
26
|
"@types/pg": "^8.16.0",
|