Skip to main content

Module async_database

Module async_database 

Source
Expand description

Async SQLite access helpers backed by tokio_rusqlite (foundation layer).

Provides a writer/reader AsyncDatabase connection pair that bridges tokio and SQLite’s single-writer model. All async repository implementations (task_repository, persistence/repository, session_store) build on top of this layer.

Structs§

AsyncDatabase
Async wrapper around SQLite using tokio_rusqlite.

Functions§

flatten_err
Flatten tokio_rusqlite::Error into anyhow::Error.