Skip to main content

Module project_cache

Module project_cache 

Source
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§

CachedComment
A SQL comment attached to an object or one of its columns.
CachedDatabase
A database declared in the project.
CachedGrant
A privilege grant on an object.
CachedIndex
An index defined on an object.
CachedInfrastructure
Infrastructure metadata for a source, sink, or connection.
CachedObject
Full metadata for one project object.
CachedObjectSummary
Lightweight summary of a project object (no SQL text or sub-collections).
CachedProperty
A key-value property within infrastructure metadata.
CachedSchema
A schema within a database, with full metadata for each contained object.
CachedTest
A unit test associated with an object.
ProjectCache
Read-only handle to compiled project metadata and typecheck artifacts.