Expand description
Generate data contracts command — resolves declared dependencies from
project.toml into a types.lock file.
Reads the dependencies list from project.toml and queries the target
database for each declared object’s column schema and kind. Also discovers
CREATE TABLE FROM SOURCE tables via full project compilation (a
lightweight syntax-only path is a planned follow-up). Hard-errors if any
declared dependency does not exist in the target database.
Functions§
- discover_
source_ 🔒tables - Discover CREATE TABLE FROM SOURCE tables by compiling the project.
- run
- Resolve declared dependencies into a types.lock file.