Skip to main content

Module storage

Module storage 

Source
Expand description

SQLite master store for rustbrain.

Database owns a single connection with foreign_keys=ON, WAL (best-effort), and a busy timeout. Schema evolution is handled by SCHEMA_VERSION migrations in schema_meta.

Application code should prefer crate::Brain; use Database directly when building custom indexers or offline maintenance tools.

Structs§

Database
Master transactional store for a single brain (.brain/db.sqlite).

Constants§

SCHEMA_VERSION
Current on-disk SQLite schema version supported by this build. Current on-disk schema version.