Create a new SQLite-backed key-value store.
Port of SqliteKv::new() from server/sqlite_kv.rs lines 26-67.
Path to the SQLite database file. Will be created if it doesn't exist.
Store an envelope at the given ARID.
Port of KvStore::put() implementation from server/sqlite_kv.rs lines 175-236.
OptionalttlSeconds: numberOptionalverbose: booleanRetrieve an envelope for the given ARID.
Port of KvStore::get() implementation from server/sqlite_kv.rs lines 238-354.
OptionaltimeoutSeconds: numberOptionalverbose: booleanCheck if an envelope exists at the given ARID.
Port of KvStore::exists() implementation from server/sqlite_kv.rs lines 356-359.
Close the database connection and stop the cleanup task.
SQLite-backed key-value store for Gordian Envelopes.
Provides persistent storage with TTL support and automatic cleanup of expired entries.
Port of
struct SqliteKvfrom server/sqlite_kv.rs lines 16-24.Example