stash_sqlite library

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
SqliteBackgroundFileAdapter<I extends Info, E extends Entry<I>>
The SqliteBackgroundFileAdapter provides a bridge between the store and the background Sqlite file 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 file backend
SqliteFileBaseAdapter<I extends Info, E extends Entry<I>>
The SqliteFileBaseAdapter provides a base abstraction for bridge between the store and the Sqlite file 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

newSqliteBackgroundCacheStore({File? file, StoreCodec? codec, bool? logStatements, DatabaseSetup? databaseSetup, bool? cachePreparedStatements, FutureOr<void> isolateSetup()?}) Future<SqliteCacheStore>
Creates a file based SqliteCacheStore on a background isolate
newSqliteBackgroundVaultStore({File? file, StoreCodec? codec, bool? logStatements, DatabaseSetup? databaseSetup, bool? cachePreparedStatements, FutureOr<void> isolateSetup()?}) Future<SqliteVaultStore>
Creates a file based SqliteVaultStore on a background isolate
newSqliteLocalCacheStore({File? file, StoreCodec? codec, bool? logStatements, DatabaseSetup? databaseSetup, bool? cachePreparedStatements}) Future<SqliteCacheStore>
Creates a file based SqliteCacheStore
newSqliteLocalVaultStore({File? file, StoreCodec? codec, bool? logStatements, DatabaseSetup? databaseSetup, bool? cachePreparedStatements}) Future<SqliteVaultStore>
Creates a file based SqliteVaultStore
newSqliteMemoryCacheStore({StoreCodec? codec, bool? logStatements, DatabaseSetup? databaseSetup, bool? cachePreparedStatements}) Future<SqliteCacheStore>
Creates a new in-memory SqliteCacheStore
newSqliteMemoryVaultStore({StoreCodec? codec, bool? logStatements, DatabaseSetup? databaseSetup, bool? cachePreparedStatements}) Future<SqliteVaultStore>
Creates a new in-memory SqliteVaultStore

Typedefs

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