Expand description
SQLite projection database utilities.
Runtime defaults are intentionally conservative:
journal_mode = WALto allow concurrent readers while writers appendbusy_timeout = 5sto reduce transient lock failures under contentionforeign_keys = ONto protect relational integrity in projection tables
Modules§
- fts
- FTS5 full-text search with BM25 ranking.
- incremental
- Incremental projection rebuild and invalidation.
- migrations
SQLiteschema migrations for the disposable projection database.- project
- Event replay →
SQLiteprojection pipeline. - query
SQLitequery helpers for the projection database.- rebuild
- Full projection rebuild from the event log.
- schema
- Canonical
SQLiteprojection schema for bones.
Constants§
- DEFAULT_
BUSY_ TIMEOUT - Busy timeout used for projection DB connections.
Functions§
- open_
projection - Open (or create) the projection
SQLitedatabase, apply runtime pragmas, and migrate schema to the latest version.