Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

x/pgsql_ast_parser/syntax/ast.ts>Statement

Yet another simple Postgres SQL parser
Go to Latest
type alias Statement
import { type Statement } from "https://deno.land/x/pgsql_ast_parser@11.2.0/syntax/ast.ts";
definition:
| SelectStatement
| CreateTableStatement
| CreateSequenceStatement
| CreateIndexStatement
| CreateExtensionStatement
| CommitStatement
| InsertStatement
| UpdateStatement
| ShowStatement
| PrepareStatement
| DeallocateStatement
| DeleteStatement
| WithStatement
| RollbackStatement
| TablespaceStatement
| CreateViewStatement
| CreateMaterializedViewStatement
| RefreshMaterializedViewStatement
| AlterTableStatement
| AlterIndexStatement
| AlterSequenceStatement
| SetGlobalStatement
| SetTimezone
| SetNames
| CreateEnumType
| CreateCompositeType
| TruncateTableStatement
| DropStatement
| CommentStatement
| CreateSchemaStatement
| WithRecursiveStatement
| RaiseStatement
| ValuesStatement
| CreateFunctionStatement
| DropFunctionStatement
| DoStatement
| BeginStatement
| StartTransactionStatement