library / io.getstream.chat.android.livedata.dao / ChannelDao

ChannelDao

interface ChannelDao

Functions

delete

abstract suspend fun delete(cid: String): Unit

insert

abstract suspend fun insert(channelEntity: ChannelEntity): Unit

insertMany

abstract suspend fun insertMany(channelEntities: List<ChannelEntity>): Unit

select

abstract suspend fun select(cids: List<String>): List<ChannelEntity>
abstract suspend fun select(cid: String?): ChannelEntity?

selectSyncNeeded

abstract suspend fun selectSyncNeeded(syncStatus: SyncStatus = SyncStatus.SYNC_NEEDED): List<ChannelEntity>