Documentation
¶
Overview ¶
Package ddl holds the reference table schemas for the lookup direct backend, one per dialect. They use the lookup.DefaultSchema table and column names; copy and adapt them when you override names through lookup.Config.Schema.
The Postgres file creates tables only. The stored-procedure schema (lookup/database_schema.sql) is a separate script with native bytea / text[] columns and must not be combined with it.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SQL ¶
SQL returns the schema script for a dialect name ("postgres", "sqlite", "mysql", "mssql").
func Statements ¶
Statements returns the schema as separate statements, for drivers that reject multi-statement execution. Comment-only lines are dropped.
Types ¶
This section is empty.