package Ġcom . kar nt re han . posts . commons . data . local Ċ Ċ import Ġandroidx . room . Dao Ċ import Ġandroidx . room . Insert Ċ import Ġandroidx . room . On Conflict Strategy Ċ import Ġandroidx . room . Query Ċ import Ġio . reactivex . Flow able Ċ Ċ @ Dao Ċ interface ĠUser Dao Ġ{ ĊĠĠĠ Ġ@ Insert ( on Conflict Ġ= ĠOn Conflict Strategy . REPLACE ) ĊĠĠĠ Ġfun Ġupsert All ( users : ĠList < User >) ĊĊĠĠĠ Ġ@ Query (" SELECT Ġ* ĠFROM Ġuser ") ĊĠĠĠ Ġfun ĠgetAll (): ĠFlow able < List < User >> Ċ }