package Ġmy . d ze ko . weather forecast . db . dao Ċ Ċ import Ġandroid . arch . persistence . room .* Ċ import Ġmy . d ze ko . weather forecast . entity . Weather Ċ Ċ @ Dao Ċ interface ĠWeather Dao Ġ{ ĊĠĠĠ Ġ@ Insert ( on Conflict Ġ= ĠOn Conflict Strategy . IGNORE ) ĊĠĠĠ Ġfun Ġinsert Weather ( weather Ġ: Weather ) Ġ: Long ĊĊĠĠĠ Ġ@ Delete ĊĠĠĠ Ġfun Ġdelete Weather ( weather Ġ: Weather ) ĊĊĠĠĠ Ġ@ Query (" Select Ġ* ĠFrom Ġ' Weather ' ĠWhere Ġid Ġ= Ġ: id ") ĊĠĠĠ Ġfun Ġget Weather ById ( id Ġ: Long ) Ġ: Weather Ċ }