package Ġcz . be zv ad il na . pr az sk aw c . model . database . dao Ċ Ċ import Ġandroidx . room .* Ċ import Ġcz . be zv ad il na . pr az sk aw c . model . database . entity . Place Ċ Ċ @ Dao Ċ interface ĠPlace Dao Ġ{ ĊĊĠĠĠ Ġ@ Query (" SELECT Ġ* ĠFROM Ġplace ") ĊĠĠĠ Ġfun Ġlist Places (): ĠList < Place > ĊĊĠĠĠ Ġ@ Update ĊĠĠĠ Ġfun Ġupdate Place ( place : ĠPlace ) ĊĊĠĠĠ Ġ@ Insert ( on Conflict Ġ= ĠOn Conflict Strategy . REPLACE ) ĊĠĠĠ Ġfun Ġinsert Place ( place : ĠPlace ) ĊĊĠĠĠ Ġ@ Delete ĊĠĠĠ Ġfun Ġdelete ( place : ĠPlace ) ĊĊĠĠĠ Ġ@ Query (" DELETE ĠFROM Ġplace ") ĊĠĠĠ Ġfun Ġdelete All Places () Ċ } Ċ