fix: crypto TS类型修复 + EXPLAIN AST类型补充
CI / test (22.x) (push) Successful in 9m54s
CI / test (24.x) (push) Successful in 9m51s
CI / test (18.x) (push) Successful in 10m3s
CI / test (20.x) (push) Successful in 10m0s

This commit is contained in:
thzxx
2026-07-27 21:58:31 +08:00
parent f248e5fb05
commit 791a5c7415
10 changed files with 568 additions and 51 deletions
+8
View File
@@ -14,6 +14,7 @@ import type { WhereCondition, OrderBy } from '../constants';
export type StatementType =
| 'SELECT'
| 'EXPLAIN'
| 'INSERT'
| 'UPDATE'
| 'DELETE'
@@ -109,6 +110,12 @@ export interface DropTableStatement {
ifExists?: boolean;
}
/** EXPLAIN 查询计划 */
export interface ExplainStatement {
type: 'EXPLAIN';
query: Statement;
}
// ---------------------------------------------------------------------------
// DML: INSERT
// ---------------------------------------------------------------------------
@@ -170,6 +177,7 @@ export interface SelectStatement {
export type Statement =
| SelectStatement
| ExplainStatement
| InsertStatement
| UpdateStatement
| DeleteStatement