Package-level declarations

Types

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
interface VersionsRepo<T> : Repo

This interface has been created due to requirement to work with different versions of databases and make some migrations between versions

Functions

Link copied to clipboard
inline fun <T> Context.versionsKeyValueRepo(database: T): VersionsRepo<T>

Will create VersionsRepo based on T, but versions will be stored in KeyValueRepo

Link copied to clipboard

Will create VersionsRepo based on SQLiteOpenHelper, but versions will be stored in KeyValueRepo

Link copied to clipboard

Will create VersionsRepo based on SQLiteOpenHelper with table inside of database

Will create VersionsRepo based on SQLiteOpenHelper, but versions will be stored in KeyValueRepo