stash_sqlite library Null safety

Provides a Sqlite implementation of the Stash caching API for Dart

Classes

SqliteAdapter<I extends Info, E extends Entry<I>>
The SqliteAdapter provides a bridge between the store and the Sqlite backend
SqliteCacheStore
Sqlite based implemention of a Cache Store
SqliteFileAdapter<I extends Info, E extends Entry<I>>
The SqliteFileAdapter provides a bridge between the store and the Sqlite backend
SqliteMemoryAdapter<I extends Info, E extends Entry<I>>
The SqliteMemoryAdapter provides a bridge between the store and the Sqlite in-memory backend
SqliteStore<I extends Info, E extends Entry<I>>
Sqlite based implemention of a Store
SqliteVaultStore
Sqlite based implemention of a Vault Store

Functions

newSqliteLocalCacheStore({File? file, StoreCodec? codec, bool? logStatements, DatabaseSetup? databaseSetup}) Future<SqliteCacheStore>
Creates a new SqliteCacheStore on a file
newSqliteLocalVaultStore({File? file, StoreCodec? codec, bool? logStatements, DatabaseSetup? databaseSetup}) Future<SqliteVaultStore>
Creates a new SqliteVaultStore on a file
newSqliteMemoryCacheStore({StoreCodec? codec, bool? logStatements, DatabaseSetup? databaseSetup}) Future<SqliteCacheStore>
Creates a new in-memory SqliteCacheStore
newSqliteMemoryVaultStore({StoreCodec? codec, bool? logStatements, DatabaseSetup? databaseSetup}) Future<SqliteVaultStore>
Creates a new in-memory SqliteVaultStore

Typedefs

SqliteBuilder<I extends Info, E extends Entry<I>> = SqliteDatabase<I, E> Function(QueryExecutor executor)