package Ġcom . us z ka is and or . mv vm news app . data Ċ Ċ import Ġandroidx . room . Dao Ċ import Ġandroidx . room . Insert Ċ import Ġandroidx . room . On Conflict Strategy Ċ import Ġandroidx . room . Query Ċ Ċ @ Dao Ċ interface ĠSearch Query Remote Key Dao Ġ{ ĊĊĠĠĠ Ġ@ Insert ( on Conflict Ġ= ĠOn Conflict Strategy . REPLACE ) ĊĠĠĠ Ġsuspend Ġfun Ġinsert Remote Key ( remote Key : ĠSearch Query Remote Key ) ĊĊĠĠĠ Ġ@ Query (" SELECT Ġ* ĠFROM Ġsearch _ query _ remote _ keys ĠWHERE Ġsearch Query Ġ= Ġ: search Query ") ĊĠĠĠ Ġsuspend Ġfun Ġget Remote Key ( search Query : ĠString ): ĠSearch Query Remote Key Ċ }