package Ġuk . co . apply logic . mar vel . data . room . dao Ċ Ċ import Ġandroidx . room .* Ċ import Ġuk . co . apply logic . mar vel . data . room . dao . model . Results Model Ċ Ċ @ Dao Ċ interface ĠResults Dao Ġ{ ĊĊĠĠĠ Ġ@ Query (" SELECT Ġ* ĠFROM Ġsearch Results ĠWHERE Ġid Ġ= Ġ: id ") ĊĠĠĠ Ġsuspend Ġfun Ġget Result ( id : ĠString ): ĠResults Model ? ĊĊĠĠĠ Ġ@ Query (" SELECT Ġ* ĠFROM Ġsearch Results ") ĊĠĠĠ Ġsuspend Ġfun Ġget Results (): ĠList < Results Model >? ĊĊĠĠĠ Ġ@ Insert ( on Conflict Ġ= ĠOn Conflict Strategy . REPLACE ) ĊĠĠĠ Ġsuspend Ġfun Ġinsert Result ( result : ĠResults Model ) ĊĊĠĠĠ Ġ@ Update ĊĠĠĠ Ġsuspend Ġfun Ġupdate Result ( result : ĠResults Model ) ĊĊĠĠĠ Ġ@ Delete ĊĠĠĠ Ġsuspend Ġfun Ġdelete Result ( result : ĠResults Model ) ĊĊĠĠĠ Ġ@ Query (" DELETE ĠFROM Ġsearch Results ") ĊĠĠĠ Ġsuspend Ġfun Ġdelete All () Ċ } Ċ