feat: SQL 语法支持 BETWEEN AND、DROP TABLE IF EXISTS
This commit is contained in:
Vendored
+5
@@ -228,6 +228,8 @@ interface CreateTableStatement {
|
||||
interface DropTableStatement {
|
||||
type: 'DROP_TABLE';
|
||||
name: string;
|
||||
/** IF EXISTS — 表不存在时不报错 */
|
||||
ifExists?: boolean;
|
||||
}
|
||||
interface InsertStatement {
|
||||
type: 'INSERT';
|
||||
@@ -696,6 +698,9 @@ declare enum TokenType {
|
||||
TRUE = "TRUE",
|
||||
REFERENCES = "REFERENCES",
|
||||
CASCADE = "CASCADE",
|
||||
BETWEEN = "BETWEEN",
|
||||
IF = "IF",
|
||||
EXISTS = "EXISTS",
|
||||
FALSE = "FALSE",
|
||||
INNER = "INNER",
|
||||
LEFT = "LEFT",
|
||||
|
||||
Reference in New Issue
Block a user