feat: SQL 语法支持 CREATE TABLE IF NOT EXISTS
- Parser 支持 CREATE TABLE IF NOT EXISTS 语法 - AST CreateTableStatement 新增 ifNotExists 字段 - Executor 表已存在时静默跳过 - 修复 demo.html Aria 预设报错
This commit is contained in:
Vendored
+2
@@ -224,6 +224,8 @@ interface CreateTableStatement {
|
||||
type: 'CREATE_TABLE';
|
||||
name: string;
|
||||
columns: ASTColumnDef[];
|
||||
/** IF NOT EXISTS — 表已存在时不报错 */
|
||||
ifNotExists?: boolean;
|
||||
}
|
||||
interface DropTableStatement {
|
||||
type: 'DROP_TABLE';
|
||||
|
||||
Reference in New Issue
Block a user