package Ġio . exo ji 2 e . s ugar top . database Ċ Ċ import Ġandroid . arch . persistence . room . Dao Ċ import Ġandroid . arch . persistence . room . Insert Ċ import Ġandroid . arch . persistence . room . On Conflict Strategy Ċ import Ġandroid . arch . persistence . room . Query Ċ import Ġandroid . arch . persistence . room . Delete ĊĊ Ċ @ Dao Ċ interface ĠManual Dao Ġ{ ĊĠĠĠ Ġ@ Query (" SELECT Ġ* Ġfrom ĠManual G lu co se Entries ") ĊĠĠĠ Ġfun ĠgetAll (): ĠList < Manual G lu co se Entry > ĊĊĠĠĠ Ġ@ Insert ( on Conflict Ġ= ĠOn Conflict Strategy . REPLACE ) ĊĠĠĠ Ġfun Ġinsert ( entry : ĠManual G lu co se Entry ) ĊĊĠĠĠ Ġ@ Delete ĊĠĠĠ Ġfun Ġdelete Record ( entry : ĠManual G lu co se Entry ) ĊĊĠĠĠ Ġ// Never Ġuse ! ĊĠĠĠ Ġ@ Query (" DELETE Ġfrom ĠManual G lu co se Entries ") ĊĠĠĠ Ġfun Ġdelete All () Ċ }