Properties

Link copied to clipboard
abstract val entityClass: KClass<Entity>

Functions

Link copied to clipboard
abstract suspend fun clear()
Link copied to clipboard
abstract suspend fun delete(item: Entity): Int
abstract suspend fun delete(items: List<Entity>): Int
Link copied to clipboard
abstract suspend fun find(id: Long): Entity?
Link copied to clipboard
abstract fun flow(): Flow<List<Entity>>
Link copied to clipboard
abstract fun flowSingle(id: Long): Flow<Entity>
Link copied to clipboard
open suspend fun insert(item: Entity): Entity
open suspend fun insert(items: List<Entity>): List<Entity>
Link copied to clipboard
abstract suspend fun internalInsert(items: Entity): Long
abstract suspend fun internalInsert(items: List<Entity>): List<Long>
Link copied to clipboard
abstract suspend fun loadAll(): List<Entity>
Link copied to clipboard
abstract suspend fun loadSingle(id: Long): Entity
Link copied to clipboard
abstract suspend fun update(item: Entity)
abstract suspend fun update(items: List<Entity>)