Member Dao
interface MemberDao
Data Access Object for the member entity.
Functions
Link copied to clipboard
abstract fun getAllMembers(): ERROR CLASS: Symbol not found for Flow<kotlin/collections/List<com/example/eduskunta/data/db/entities/MemberEntity>>
Get all members from the database. Flow is used to get updates on the data.
Link copied to clipboard
abstract fun getMembersByParty(party: String): ERROR CLASS: Symbol not found for Flow<kotlin/collections/List<com/example/eduskunta/data/db/entities/MemberEntity>>
Get members by party from the database. Flow is used to get updates on the data.
Link copied to clipboard
Insert a list of members into the database. If the member already exists, replace it.