package Ġio . github . m sh 9 1 . arch . data . source . db Ċ Ċ import Ġandroidx . room . Dao Ċ import Ġandroidx . room . Insert Ċ import Ġandroidx . room . On Conflict Strategy Ċ import Ġandroidx . room . Query Ċ import Ġio . github . m sh 9 1 . arch . data . source . db . entity . Remote Keys Ċ Ċ @ Dao Ċ interface ĠRemote Keys Dao Ġ{ ĊĊĠĠĠ Ġ@ Insert ( on Conflict Ġ= ĠOn Conflict Strategy . REPLACE ) ĊĠĠĠ Ġsuspend Ġfun Ġinsert All ( remote Key : ĠList < Remote Keys >) ĊĊĠĠĠ Ġ@ Query (" SELECT Ġ* ĠFROM Ġremote keys ĠWHERE Ġrepo Id Ġ= Ġ: id ") ĊĠĠĠ Ġsuspend Ġfun Ġremote Keys Dog go Id ( id : ĠString ): ĠRemote Keys ? ĊĊĠĠĠ Ġ@ Query (" DELETE ĠFROM Ġremote keys ") ĊĠĠĠ Ġsuspend Ġfun Ġclear Remote Keys () Ċ } Ċ