import { BaseNode, Keyword } from "./Base"; import { ListExpr } from "./Expr"; import { TableFactor } from "./Select"; export interface TruncateStmt extends BaseNode { type: "truncate_stmt"; truncateKw: Keyword<"TRUNCATE">; tableKw?: Keyword<"TABLE">; tables: ListExpr; restartOrContinueKw?: [Keyword<"RESTART" | "CONTINUE">, Keyword<"IDENTITY">]; behaviorKw?: Keyword<"CASCADE" | "RESTRICT">; }