package Ġcom . k ome y ama . simple . weather . db . internal . dao Ċ Ċ import Ġandroidx . lifecycle . LiveData Ċ import Ġandroidx . room . Dao Ċ import Ġandroidx . room . Insert Ċ import Ġandroidx . room . On Conflict Strategy Ċ import Ġandroidx . room . Query Ċ import Ġcom . k ome y ama . simple . weather . db . internal . entity . Favorite Place Entity Impl Ċ import Ġkotlinx . coroutines . flow . Flow Ċ Ċ @ Dao Ċ internal Ġabstract Ġclass ĠF avorite Place Dao Ġ{ ĊĠĠĠ Ġ@ Query (" SELECT Ġ* ĠFROM Ġfavorite _ place ") ĊĠĠĠ Ġabstract Ġfun Ġfavorite Place LiveData (): ĠLive Data < List < Favorite Place Entity Impl >> ĊĊĠĠĠ Ġ@ Query (" SELECT Ġ* ĠFROM Ġfavorite _ place ") ĊĠĠĠ Ġabstract Ġfun Ġfavorite Place Info (): ĠList < Favorite Place Entity Impl > ĊĊĠĠĠ Ġ@ Query (" SELECT Ġ* ĠFROM Ġfavorite _ place ") ĊĠĠĠ Ġabstract Ġfun Ġfavorite Place Info Flow (): ĠFlow < List < Favorite Place Entity Impl >> ĊĊĠĠĠ Ġ@ Query (" DELETE ĠFROM Ġfavorite _ place ") ĊĠĠĠ Ġabstract Ġfun Ġdelete All () ĊĊĠĠĠ Ġ@ Insert ( on Conflict Ġ= ĠOn Conflict Strategy . REPLACE ) ĊĠĠĠ Ġabstract Ġfun Ġinsert ( favorite Place Entity Impl : ĠF avorite Place Entity Impl ) ĊĊĠĠĠ Ġ@ Query (" DELETE ĠFROM Ġfavorite _ place ĠWHERE Ġfavorite _ forecast _ id Ġ= Ġ: forecast Id ") ĊĠĠĠ Ġabstract Ġfun Ġdelete ( forecast Id : ĠString ) Ċ }