door
door copied to clipboard
Kotlin Multiplatform (Android, JVM, JS) offline-first data layer built on Room
Query is set up to specific which columns to use ``` @Transaction @Query("SELECT id, name, permissions, imageUrl FROM ProfileEntity") abstract fun getAllEntitiesWithoutPin(): List ``` Auto generated code references a column...
This will fail to compile complaining about no @Entity annotation being found: ``` @Insert abstract fun insert(vararg items: EntityName) : List ``` This does work, but vararg support would be...
When creating tables.. the tableName needs to match the class name or it will throw a runtime error when you try to insert into the database. The database does get...
This is my Implementation ``` @DoorDatabase( version = 1, entities = [ TvmConfiguration::class ] ) abstract class AtekDatabase : RoomDatabase() { abstract fun tvmConfigurationDao(): TvmConfigurationDao companion object { private lateinit...