Expand description
Compiled project IR.
This module contains the validated semantic structures produced by object
compilation and project assembly — the layer between raw parsed SQL and
the dependency-aware graph in ir::graph.
DatabaseObjectis a single.sqlfile after validation and name normalization: one primary CREATE statement plus its indexes, grants, comments, and tests. All identifiers are fully qualified.Projectgroups validated objects by(database, schema)with module-level statements, but has no dependency graph. Dependency extraction happens downstream inanalysis::deps, which produces the finalgraph::Project.
Structs§
- Database
- A validated database containing multiple schemas.
- Database
Object - A validated database object with its primary statement and supporting declarations.
- Fully
Qualified Name - Fully qualified name parsed from file path structure.
- Project
- A fully validated compiled project.
- Schema
- A validated schema containing multiple database objects.
Functions§
- rewrite_
in_ 🔒cluster - Rewrite an optional
RawClusterName::Unresolvedident if it matches a key in the map.