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

x/pgsql_ast_parser/syntax/ast.ts>CreateTableStatement

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

Properties

type: "create table"
name: QName
optional
temporary: boolean
optional
unlogged: boolean
optional
locality: "global" | "local"
optional
ifNotExists: true
optional
constraints: TableConstraint[]

Constraints not defined inline

optional
inherits: QName[]