insert

abstract suspend fun insert(user: UserRoomEntity)

Inserts a single user entity into the database. If a conflict arises, the existing entry is replaced.

Parameters

user

The user entity to be inserted.