Module db

Module db 

Source
Expand description

SQLite database connection and query operations. SQLite storage layer for Lore.

Provides database operations for storing and retrieving sessions, messages, and session-to-commit links. Uses SQLite for local-first persistence with automatic schema migrations.

Structs§

Database
SQLite database connection wrapper.
DatabaseStats
Statistics about the Lore database.

Functions§

default_db_path
Returns the default database path at ~/.lore/lore.db.