Skip to main content

Crate opensession_local_db

Crate opensession_local_db 

Source

Modules§

git

Structs§

LocalDb
Local SQLite index/cache shared by TUI and Daemon. This is not the source of truth for canonical session bodies. Thread-safe: wraps the connection in a Mutex so it can be shared via Arc<LocalDb>.
LocalSessionFilter
Filter for listing sessions from the local DB.
LocalSessionRow
A local session row stored in the local SQLite index/cache database.
LogFilter
Extended filter for the log command.
RemoteSessionSummary
Minimal remote session payload needed for local index/cache upsert.

Enums§

LocalSortOrder
Sort order for local session listing.
LocalTimeRange
Time range filter for local session listing.

Constants§

LOCAL_SESSION_COLUMNS
Column list for SELECT queries against sessions + session_sync + users.