Note Dao
interface NoteDao
Data Access Object for the note entity.
Functions
Link copied to clipboard
Add a note to the database.
Link copied to clipboard
Delete a note from the database.
Link copied to clipboard
abstract fun getAllNotes(): ERROR CLASS: Symbol not found for Flow<kotlin/collections/List<com/example/eduskunta/data/db/entities/NoteEntity>>
Get all notes from the database. Flow is used to get updates on the data.
Link copied to clipboard
abstract fun getNotesForMember(personNumber: Int): ERROR CLASS: Symbol not found for Flow<kotlin/collections/List<com/example/eduskunta/data/db/entities/NoteEntity>>
Get all notes for a member from the database. Flow is used to get updates on the data.