Skip to main content
Module

x/pgsql_ast_parser/index.ts>CreateTableStatement

Yet another simple Postgres SQL parser
Go to Latest
interface CreateTableStatement
implements PGNode
import { type CreateTableStatement } from "https://deno.land/x/pgsql_ast_parser@10.5.2/index.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[]