Skip to main content
Module

x/pgsql_ast_parser/index.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/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[]