Package com. devbase. data. source. db

Defines local database implementation.

Types

Link copied to clipboard
open class DbModel

Base Model for all Room Model

Link copied to clipboard
interface DbService

Base for Database Service

Link copied to clipboard
interface DevDao<model : DbModel> : DbService

Base for Data Access Object for Room

Functions

Link copied to clipboard
inline fun <T : RoomDatabase> buildDatabase(    ctx: Context,     dbName: String,     passPhrase: String,     fallBackMigration: Boolean = false,     migrations: List<Migration>? = null): T

Method to build encrypted Room Database