Is it possible to return Flow<List<Long>> after Room insert?
Something like this:
@Insert(onConflict = REPLACE)
suspend fun insert( notesModel: List<NotesModel>): Flow<List<Long>>
When I do it I get an exception:
error: Not sure how to handle insert method's return type.