Skip to main content

Module engine

Module engine 

Source
Expand description

In-memory SQLite engine used by $sqlquery-run.

One connection per request. Each depends-on ViewDefinition is materialized into a named table; the user’s SQL then runs against those tables.

Structs§

ColumnSchema
One column in a materialized table.
InMemorySqlEngine
The in-memory SQLite engine.
QueryResult
Result of running the user query.
TableSchema
Per-table schema: the column list (order matters for INSERT).

Enums§

ColumnFhirType
FHIR type code for a column. Mirrors the value-set used by ViewDefinition.select.column.type so we can pick the correct value[X] when rendering _format=fhir.