package Ġcom . mid night ge ek . atlas book . repo . local . interfaces Ċ Ċ import Ġandroidx . room . Dao Ċ import Ġandroidx . room . Insert Ċ import Ġandroidx . room . On Conflict Strategy Ċ import Ġandroidx . room . Query Ċ import Ġcom . mid night ge ek . atlas book . repo . local . models . entity . Model Re com Db Ċ import Ġio . reactivex . Observable Ċ Ċ @ Dao Ċ interface ĠRe com Dao Ġ{ ĊĠĠĠ Ġ@ Insert ( on Conflict Ġ= ĠOn Conflict Strategy . REPLACE ) ĊĠĠĠ Ġfun Ġsave Recomm ( data : ĠModel Re com Db ) ĊĊĠĠĠ Ġ@ Insert ( on Conflict Ġ= ĠOn Conflict Strategy . REPLACE ) ĊĠĠĠ Ġfun Ġsave Recomm ( data : ĠList < Model Re com Db >) ĊĊĠĠĠ Ġ@ Query (" DELETE ĠFROM Ġtbl _ re com mm ") ĊĠĠĠ Ġfun Ġdelete All () ĊĊĠĠĠ Ġ@ Query (" SELECT Ġ* ĠFROM Ġtbl _ re com mm ") ĊĠĠĠ Ġfun Ġfetch All Recomm (): ĠObservable < List < Model Re com Db >> Ċ Ċ }