AppDAOImpl

internal class AppDAOImpl(appsQueries: AppsQueries, readDispatcher: ReadDispatcher, writeDispatcher: WriteDispatcher) : AppDAO

Constructors

Link copied to clipboard
constructor(appsQueries: AppsQueries, readDispatcher: ReadDispatcher, writeDispatcher: WriteDispatcher)

Functions

Link copied to clipboard
open suspend override fun byId(id: QualifiedIDEntity): AppEntity?
Link copied to clipboard
open suspend override fun insert(appEntity: AppEntity)
Link copied to clipboard
open override fun observeAllApps(): Flow<List<AppEntity>>
Link copied to clipboard
open override fun observeIsAppMember(appId: QualifiedIDEntity, conversationId: ConversationIDEntity): Flow<QualifiedIDEntity?>

Returns the userId only if the given user is a member of the conversation.

Link copied to clipboard
open override fun searchAppsByName(query: String): Flow<List<AppEntity>>
Link copied to clipboard
open suspend override fun upsertApps(apps: List<AppEntity>)