UserIdDao

interface UserIdDao

Access to user id rows linked to key rings.

Functions

Link copied to clipboard
abstract suspend fun deleteForKey(keyId: Long)

Removes all user ids for keyId.

Link copied to clipboard
abstract suspend fun findByUserIdFragment(fragment: String): List<UserIdEntity>

Case-insensitive substring match on UserIdEntity.userId.

Link copied to clipboard
abstract suspend fun forKey(keyId: Long): List<UserIdEntity>

Returns all user ids for keyId.

Link copied to clipboard
abstract suspend fun insertAll(entities: List<UserIdEntity>)

Inserts or replaces a batch of user id rows.

Link copied to clipboard
abstract fun observeAll(): Flow<List<UserIdEntity>>

Observes all user id rows.