Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/pgsql_ast_parser/syntax/ast.ts>DropStatement

Yet another simple Postgres SQL parser
Latest
interface DropStatement
implements PGNode
import { type DropStatement } from "https://deno.land/x/pgsql_ast_parser@12.0.1/syntax/ast.ts";

Properties

type:
| "drop table"
| "drop sequence"
| "drop index"
| "drop type"
| "drop trigger"
names: QName[]
optional
ifExists: boolean
optional
cascade: "cascade" | "restrict"
optional
concurrently: boolean