nene / sql-parser-cst

Parses SQL into Concrete Syntax Tree (CST)
GNU General Public License v2.0
115 stars 7 forks source link

Incorrect Keyword type in ExecuteStmt #31

Closed nene closed 1 year ago

nene commented 1 year ago

Here:

export interface ExecuteStmt extends BaseNode {
    type: "execute_stmt";
    executeKw: Keyword<"DECLARE">; // <--- should be "EXECUTE"
    immediateKw?: Keyword<"IMMEDIATE">;
    expr: Expr;
    into?: ExecuteIntoClause;
    using?: ExecuteUsingClause;
}