Directories
¶
| Path | Synopsis |
|---|---|
|
Package catalog assembles an IR Catalog from parsed DDL statements.
|
Package catalog assembles an IR Catalog from parsed DDL statements. |
|
Package core provides the high-level collection pipeline that turns a Config into a fully-resolved IR Catalog, Query list, and Migration list.
|
Package core provides the high-level collection pipeline that turns a Config into a fully-resolved IR Catalog, Query list, and Migration list. |
|
Package diff compares two IR catalogs and produces an ordered migration Plan whose forward (UpSQL) and inverse (DownSQL) DDL can be rendered.
|
Package diff compares two IR catalogs and produces an ordered migration Plan whose forward (UpSQL) and inverse (DownSQL) DDL can be rendered. |
|
Package introspect builds an IR Catalog by querying a live PostgreSQL instance through pg_catalog.
|
Package introspect builds an IR Catalog by querying a live PostgreSQL instance through pg_catalog. |
|
Package lint analyzes SQL migrations for destructive or risky changes.
|
Package lint analyzes SQL migrations for destructive or risky changes. |
|
Package mapper translates libpg_query AST nodes to sqld IR proto types.
|
Package mapper translates libpg_query AST nodes to sqld IR proto types. |
|
Package nodeid provides a deterministic, immutable AST node-id path builder.
|
Package nodeid provides a deterministic, immutable AST node-id path builder. |
|
Package plugin provides host-side utilities for working with sqld plugins.
|
Package plugin provides host-side utilities for working with sqld plugins. |
|
Package query parses named DML query files (sqlc-style annotations) and maps each query to a pluginv1.Query IR node.
|
Package query parses named DML query files (sqlc-style annotations) and maps each query to a pluginv1.Query IR node. |
|
Package relate derives a relationship graph from foreign-key metadata in an IR Catalog.
|
Package relate derives a relationship graph from foreign-key metadata in an IR Catalog. |
|
internal/source/source.go
|
internal/source/source.go |
Click to show internal directories.
Click to hide internal directories.