@atscript/db-mysql 0.1.72 → 0.1.73
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/index.d.cts +2 -2
- package/dist/index.d.mts +2 -2
- package/package.json +3 -3
package/dist/index.d.cts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { t as MysqlPlugin } from "./index-O193LJVT.cjs";
|
|
2
2
|
import { BaseDbAdapter, DbQuery, DbSpace, FilterExpr, TColumnDiff, TDbDefaultFn, TDbDeleteResult, TDbFieldMeta, TDbInsertManyResult, TDbInsertResult, TDbUpdateResult, TExistingColumn, TExistingTableOption, TFieldOps, TSearchIndexInfo, TSyncColumnResult, TTableOptionDiff, TValueFormatterPair } from "@atscript/db";
|
|
3
3
|
import { TMetadataMap } from "@atscript/typescript/utils";
|
|
4
|
-
import * as mysql2_promise0 from "mysql2/promise";
|
|
4
|
+
import * as _$mysql2_promise0 from "mysql2/promise";
|
|
5
5
|
import { FilterExpr as FilterExpr$1 } from "@uniqu/core";
|
|
6
6
|
import { TSqlFragment, TSqlFragment as TSqlFragment$1 } from "@atscript/db-sql-tools";
|
|
7
7
|
|
|
@@ -240,7 +240,7 @@ declare class MysqlAdapter extends BaseDbAdapter {
|
|
|
240
240
|
declare class Mysql2Driver implements TMysqlDriver {
|
|
241
241
|
private pool;
|
|
242
242
|
private poolInit;
|
|
243
|
-
constructor(poolOrConfig: string | mysql2_promise0.Pool | mysql2_promise0.PoolOptions);
|
|
243
|
+
constructor(poolOrConfig: string | _$mysql2_promise0.Pool | _$mysql2_promise0.PoolOptions);
|
|
244
244
|
private getPool;
|
|
245
245
|
run(sql: string, params?: unknown[]): Promise<TMysqlRunResult>;
|
|
246
246
|
all<T = Record<string, unknown>>(sql: string, params?: unknown[]): Promise<T[]>;
|
package/dist/index.d.mts
CHANGED
|
@@ -2,7 +2,7 @@ import { t as MysqlPlugin } from "./index-B1N7X623.mjs";
|
|
|
2
2
|
import { BaseDbAdapter, DbQuery, DbSpace, FilterExpr, TColumnDiff, TDbDefaultFn, TDbDeleteResult, TDbFieldMeta, TDbInsertManyResult, TDbInsertResult, TDbUpdateResult, TExistingColumn, TExistingTableOption, TFieldOps, TSearchIndexInfo, TSyncColumnResult, TTableOptionDiff, TValueFormatterPair } from "@atscript/db";
|
|
3
3
|
import { TSqlFragment, TSqlFragment as TSqlFragment$1 } from "@atscript/db-sql-tools";
|
|
4
4
|
import { TMetadataMap } from "@atscript/typescript/utils";
|
|
5
|
-
import * as mysql2_promise0 from "mysql2/promise";
|
|
5
|
+
import * as _$mysql2_promise0 from "mysql2/promise";
|
|
6
6
|
import { FilterExpr as FilterExpr$1 } from "@uniqu/core";
|
|
7
7
|
|
|
8
8
|
//#region src/types.d.ts
|
|
@@ -240,7 +240,7 @@ declare class MysqlAdapter extends BaseDbAdapter {
|
|
|
240
240
|
declare class Mysql2Driver implements TMysqlDriver {
|
|
241
241
|
private pool;
|
|
242
242
|
private poolInit;
|
|
243
|
-
constructor(poolOrConfig: string | mysql2_promise0.Pool | mysql2_promise0.PoolOptions);
|
|
243
|
+
constructor(poolOrConfig: string | _$mysql2_promise0.Pool | _$mysql2_promise0.PoolOptions);
|
|
244
244
|
private getPool;
|
|
245
245
|
run(sql: string, params?: unknown[]): Promise<TMysqlRunResult>;
|
|
246
246
|
all<T = Record<string, unknown>>(sql: string, params?: unknown[]): Promise<T[]>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atscript/db-mysql",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.73",
|
|
4
4
|
"description": "MySQL adapter for @atscript/db with mysql2 driver support.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"atscript",
|
|
@@ -52,8 +52,8 @@
|
|
|
52
52
|
"@atscript/typescript": "^0.1.53",
|
|
53
53
|
"@uniqu/core": "^0.1.6",
|
|
54
54
|
"mysql2": ">=3.0.0",
|
|
55
|
-
"@atscript/db
|
|
56
|
-
"@atscript/db": "^0.1.
|
|
55
|
+
"@atscript/db": "^0.1.73",
|
|
56
|
+
"@atscript/db-sql-tools": "^0.1.73"
|
|
57
57
|
},
|
|
58
58
|
"peerDependenciesMeta": {
|
|
59
59
|
"mysql2": {
|