Documentation
¶
Overview ¶
Package postgres provides SQL keyword constants for the PostgreSQL parser.
Package postgres implements a DDL parser for PostgreSQL schemas.
This parser supports PostgreSQL-specific DDL syntax including:
- SERIAL/BIGSERIAL auto-increment types
- JSONB and JSON types
- Array types (TEXT[], INTEGER[], etc.)
- UUID type
- CREATE TYPE for enums
- Domain constraints
- PostgreSQL-specific syntax variations
Index ¶
Constants ¶
View Source
const ( KeywordPrimary = "PRIMARY" KeywordUnique = "UNIQUE" KeywordForeign = "FOREIGN" KeywordCheck = "CHECK" KeywordConstraint = "CONSTRAINT" KeywordExclude = "EXCLUDE" )
SQL keywords used in PostgreSQL DDL parsing.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
Click to show internal directories.
Click to hide internal directories.