package Ġcom . daniel ce inos . im gram . data . room Ċ Ċ import Ġandroidx . room . Dao Ċ import Ġandroidx . room . Delete Ċ import Ġandroidx . room . Insert Ċ import Ġandroidx . room . On Conflict Strategy . REPLACE Ċ import Ġandroidx . room . Query Ċ Ċ @ Dao Ċ interface ĠImage Dao Ġ{ ĊĠĠĠ Ġ@ Query (" SELECT Ġ* ĠFROM Ġimages ĠWHERE Ġauthor Ġ= Ġ: author ") ĊĠĠ Ġsuspend Ġfun ĠgetAll ( author : ĠString ): ĠList < Room Image > ĊĊĠĠĠ Ġ@ Insert ( on Conflict Ġ= ĠREPLACE ) ĊĠĠĠ Ġsuspend Ġfun Ġinsert All ( images : ĠList < Room Image >) ĊĊĠĠĠ Ġ@ Delete ĊĠĠĠ Ġsuspend Ġfun Ġdelete ( image : ĠRoom Image ) Ċ }