Expand description
Read-only interface to cached project and typecheck artifacts.
ProjectCache provides typed access to project metadata and internal
object column schemas stored in the compiler’s SQLite database. It holds
a read-only connection and serves per-object queries lazily. Consumers
see this as an opaque data structure — SQLite is an implementation detail.
Structs§
- Cached
Comment - A SQL comment attached to an object or one of its columns.
- Cached
Database - A database declared in the project.
- Cached
Grant - A privilege grant on an object.
- Cached
Index - An index defined on an object.
- Cached
Infrastructure - Infrastructure metadata for a source, sink, or connection.
- Cached
Object - Full metadata for one project object.
- Cached
Object Summary - Lightweight summary of a project object (no SQL text or sub-collections).
- Cached
Property - A key-value property within infrastructure metadata.
- Cached
Schema - A schema within a database, with full metadata for each contained object.
- Cached
Test - A unit test associated with an object.
- Project
Cache - Read-only handle to compiled project metadata and typecheck artifacts.