@l-v-yonsama/multi-platform-database-drivers 0.1.181 → 0.1.184
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/built/src/drivers/MySQLDriver.js +9 -0
- package/built/src/drivers/MySQLDriver.js.map +1 -1
- package/built/src/drivers/PostgresDriver.js +9 -0
- package/built/src/drivers/PostgresDriver.js.map +1 -1
- package/built/src/drivers/RDSBaseDriver.d.ts +2 -3
- package/built/src/drivers/RDSBaseDriver.js +30 -51
- package/built/src/drivers/RDSBaseDriver.js.map +1 -1
- package/built/src/drivers/RedisDriver.js +15 -3
- package/built/src/drivers/RedisDriver.js.map +1 -1
- package/built/src/drivers/aws/AwsCloudwatchServiceClient.js.map +1 -1
- package/built/src/drivers/aws/AwsS3ServiceClient.js +4 -1
- package/built/src/drivers/aws/AwsS3ServiceClient.js.map +1 -1
- package/built/src/drivers/aws/AwsSQSServiceClient.js +4 -1
- package/built/src/drivers/aws/AwsSQSServiceClient.js.map +1 -1
- package/built/src/examples/mysql.js +3 -8
- package/built/src/examples/mysql.js.map +1 -1
- package/built/src/helpers/SQLHelper.d.ts +2 -3
- package/built/src/helpers/SQLHelper.js +72 -2
- package/built/src/helpers/SQLHelper.js.map +1 -1
- package/built/src/resource/DbResource.d.ts +1 -1
- package/built/src/resource/DbResource.js +1 -1
- package/built/src/resource/DbResource.js.map +1 -1
- package/built/src/resource/GeneralColumnUtil.js +10 -11
- package/built/src/resource/GeneralColumnUtil.js.map +1 -1
- package/built/src/types/helpers/index.d.ts +9 -0
- package/built/src/types/helpers/index.js.map +1 -1
- package/built/src/types/resource/ConnectionSetting.d.ts +1 -0
- package/built/src/types/resource/GeneralColumnType.d.ts +73 -72
- package/built/src/types/resource/GeneralColumnType.js +72 -73
- package/built/src/types/resource/GeneralColumnType.js.map +1 -1
- package/built/src/types/resource/RedisKeyType.d.ts +1 -1
- package/built/src/types/resource/ResultSetDataType.d.ts +1 -0
- package/built/src/types/resource/ResultSetDataType.js.map +1 -1
- package/package.json +1 -1
|
@@ -1,77 +1,76 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.GeneralColumnType = void 0;
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
})(GeneralColumnType = exports.GeneralColumnType || (exports.GeneralColumnType = {}));
|
|
4
|
+
exports.GeneralColumnType = {
|
|
5
|
+
BIT: 'bit',
|
|
6
|
+
VARBIT: 'varbit',
|
|
7
|
+
BOOLEAN: 'boolean',
|
|
8
|
+
CHAR: 'char',
|
|
9
|
+
VARCHAR: 'varchar',
|
|
10
|
+
TINYTEXT: 'tinytext',
|
|
11
|
+
MEDIUMTEXT: 'mediumtext',
|
|
12
|
+
TEXT: 'text',
|
|
13
|
+
LONGTEXT: 'longtext',
|
|
14
|
+
CLOB: 'clob',
|
|
15
|
+
INET: 'inet',
|
|
16
|
+
TINYINT: 'tinyint',
|
|
17
|
+
SMALLINT: 'smallint',
|
|
18
|
+
MEDIUMINT: 'mediumint',
|
|
19
|
+
INTEGER: 'integer',
|
|
20
|
+
BIGINT: 'bigint',
|
|
21
|
+
DECIMAL: 'decimal',
|
|
22
|
+
LONG: 'long',
|
|
23
|
+
LONGLONG: 'longlong',
|
|
24
|
+
NUMERIC: 'numeric',
|
|
25
|
+
FLOAT: 'float',
|
|
26
|
+
DOUBLE_PRECISION: 'double_precision',
|
|
27
|
+
REAL: 'real',
|
|
28
|
+
SERIAL: 'serial',
|
|
29
|
+
MONEY: 'money',
|
|
30
|
+
JSON: 'json',
|
|
31
|
+
JSONB: 'jsonb',
|
|
32
|
+
LINE: 'line',
|
|
33
|
+
LSEG: 'lseg',
|
|
34
|
+
MACADDR: 'macaddr',
|
|
35
|
+
PATH: 'path',
|
|
36
|
+
PG_LSN: 'pg_lsn',
|
|
37
|
+
POINT: 'point',
|
|
38
|
+
POLYGON: 'polygon',
|
|
39
|
+
GEOMETRY: 'geometry',
|
|
40
|
+
TIME: 'time',
|
|
41
|
+
TIME_WITH_TIME_ZONE: 'time_with_time_zone',
|
|
42
|
+
DATE: 'date',
|
|
43
|
+
TIMESTAMP: 'timestamp',
|
|
44
|
+
TIMESTAMP_WITH_TIME_ZONE: 'timestamp_with_time_zone',
|
|
45
|
+
YEAR: 'year',
|
|
46
|
+
ENUM: 'enum',
|
|
47
|
+
SET: 'set',
|
|
48
|
+
TSQUERY: 'tsquery',
|
|
49
|
+
TSVECTOR: 'tsvector',
|
|
50
|
+
TXID_SNAPSHOT: 'txid_snapshot',
|
|
51
|
+
UUID: 'uuid',
|
|
52
|
+
CIDR: 'cidr',
|
|
53
|
+
CIRCLE: 'circle',
|
|
54
|
+
BOX: 'box',
|
|
55
|
+
BYTEA: 'bytea',
|
|
56
|
+
BINARY: 'binary',
|
|
57
|
+
VARBINARY: 'varbinary',
|
|
58
|
+
BLOB: 'blob',
|
|
59
|
+
TINYBLOB: 'tinyblob',
|
|
60
|
+
MEDIUMBLOB: 'mediumblob',
|
|
61
|
+
LONGBLOB: 'longblob',
|
|
62
|
+
XML: 'xml',
|
|
63
|
+
NAME: 'name',
|
|
64
|
+
ARRAY: 'array',
|
|
65
|
+
XID: 'xid',
|
|
66
|
+
INTERVAL: 'interval',
|
|
67
|
+
OID: 'oid',
|
|
68
|
+
REGTYPE: 'regtype',
|
|
69
|
+
REGPROC: 'regproc',
|
|
70
|
+
PG_NODE_TREE: 'pg_node_tree',
|
|
71
|
+
PG_NDISTINCT: 'pg_ndistinct',
|
|
72
|
+
PG_DEPENDENCIES: 'pg_dependencies',
|
|
73
|
+
OBJECT: 'object',
|
|
74
|
+
UNKNOWN: 'unknown',
|
|
75
|
+
};
|
|
77
76
|
//# sourceMappingURL=GeneralColumnType.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"GeneralColumnType.js","sourceRoot":"","sources":["../../../../src/types/resource/GeneralColumnType.ts"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"GeneralColumnType.js","sourceRoot":"","sources":["../../../../src/types/resource/GeneralColumnType.ts"],"names":[],"mappings":";;;AAAa,QAAA,iBAAiB,GAAG;IAC/B,GAAG,EAAE,KAAK;IACV,MAAM,EAAE,QAAQ;IAChB,OAAO,EAAE,SAAS;IAClB,IAAI,EAAE,MAAM;IACZ,OAAO,EAAE,SAAS;IAClB,QAAQ,EAAE,UAAU;IACpB,UAAU,EAAE,YAAY;IACxB,IAAI,EAAE,MAAM;IACZ,QAAQ,EAAE,UAAU;IACpB,IAAI,EAAE,MAAM;IACZ,IAAI,EAAE,MAAM;IACZ,OAAO,EAAE,SAAS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AG,EAAE,KAAK;IACV,OAAO,EAAE,SAAS;IAClB,OAAO,EAAE,SAAS;IAClB,YAAY,EAAE,cAAc;IAC5B,YAAY,EAAE,cAAc;IAC5B,eAAe,EAAE,iBAAiB;IAClC,MAAM,EAAE,QAAQ;IAChB,OAAO,EAAE,SAAS;CACV,CAAC"}
|
|
@@ -7,4 +7,4 @@ export declare const RedisKeyType: {
|
|
|
7
7
|
readonly unknown: "unknown";
|
|
8
8
|
};
|
|
9
9
|
export type RedisKeyType = (typeof RedisKeyType)[keyof typeof RedisKeyType];
|
|
10
|
-
export declare const RedisKeyTypeValues: ("string" | "
|
|
10
|
+
export declare const RedisKeyTypeValues: ("string" | "set" | "unknown" | "list" | "zset" | "hash")[];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ResultSetDataType.js","sourceRoot":"","sources":["../../../../src/types/resource/ResultSetDataType.ts"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"ResultSetDataType.js","sourceRoot":"","sources":["../../../../src/types/resource/ResultSetDataType.ts"],"names":[],"mappings":";;;AA6FO,MAAM,eAAe,GAAG,CAAC,IAAS,EAAyB,EAAE,CAClE,IAAI,CAAC,OAAO,IAAI,IAAI,CAAC,IAAI,IAAI,IAAI,CAAC,IAAI,IAAI,IAAI,CAAC,IAAI,CAAC;AADzC,QAAA,eAAe,mBAC0B"}
|