package Ġcom . example . crypto tracker . data . database . dao Ċ Ċ import Ġandroidx . room . Dao Ċ import Ġandroidx . room . Insert Ċ import Ġandroidx . room . On Conflict Strategy Ċ import Ġandroidx . room . Query Ċ import Ġcom . example . crypto tracker . data . database . model . Details Entity Ċ import Ġcom . example . crypto tracker . domain . model . Card Data Ċ Ċ @ Dao Ċ interface ĠCard Dao Ġ{ ĊĠĠĠ Ġ@ Query (" SELECT Ġ* ĠFROM Ġdetails ĠN ATUR AL ĠJOIN Ġfavour ites ĠWHERE Ġname Ġ= Ġ: name ") ĊĠĠĠ Ġsuspend Ġfun Ġget Coin Details ( name : ĠString ): ĠCard Data ? ĊĊĠĠĠ Ġ@ Insert ( on Conflict Ġ= ĠOn Conflict Strategy . REPLACE ) ĊĠĠĠ Ġsuspend Ġfun Ġset Coin Details ( data : ĠList < Details Entity >) Ċ } Ċ