Expand description
SQLite in-DB SQL-on-FHIR runner.
SqliteInDbRunner compiles a ViewDefinition to a parameterised SQLite
SELECT statement and executes it directly against the resources table,
bypassing in-process FHIRPath evaluation entirely.
§Streaming
Rows are sent one-by-one through a bounded tokio::sync::mpsc channel
(buffer: 256) so the HTTP layer can begin flushing to the client before the
full result set is read. The blocking SQLite iteration runs in a dedicated
spawn_blocking thread so it never stalls the async runtime.
Structs§
- Sqlite
InDb Runner - SQL-on-FHIR runner that compiles ViewDefinitions to SQLite SQL.