package Ġcom . sm ass ive . bit co int icker . charts . data . datasource . local Ċ Ċ import Ġandroidx . room . Dao Ċ import Ġandroidx . room . Insert Ċ import Ġandroidx . room . On Conflict Strategy Ċ import Ġandroidx . room . Query Ċ import Ġcom . sm ass ive . bit co int icker . charts . data . datasource . local . model . Chart Entity Ċ import Ġio . reactivex . Flow able Ċ Ċ @ Dao Ċ interface ĠChart Dao Ġ{ ĊĊĠ Ġ@ Query (" SELECT Ġ* ĠFROM Ġchart ĠWHERE Ġname Ġ= Ġ: chart Name ") ĊĠ Ġfun Ġget Chart ( chart Name : ĠString ): ĠFlow able < List < Chart Entity >> ĊĊĠ Ġ@ Insert ( on Conflict Ġ= ĠOn Conflict Strategy . REPLACE ) ĊĠ Ġfun Ġinsert ( chart Entity : ĠChart Entity ) Ċ }