package Ġcom . example . food delivery . Room . Dao čĊč Ċ import Ġandroidx . room .* č Ċ import Ġcom . example . food delivery . Room . Entities . User čĊčĊč Ċ @ Dao č Ċ interface ĠUser Dao Ġ{ čĊĠĠĠ Ġ@ Query (" SELECT Ġ* ĠFROM Ġusers ") čĊĠĠĠ Ġfun ĠgetAll (): ĠList < User > čĊčĊĠĠĠ Ġ@ Query (" SELECT Ġ* ĠFROM Ġusers ĠWHERE Ġname ĠLIKE Ġ: name ĠLIMIT Ġ 1 ") čĊĠĠĠ Ġfun Ġfind ByName ( name : String ): ĠUser čĊčĊĠĠĠ Ġ@ Insert ( on Conflict Ġ= ĠOn Conflict Strategy . REPLACE ) čĊĠĠĠ Ġfun Ġinsert All ( var arg Ġuser : ĠUser ) čĊčĊĠĠĠ Ġ@ Delete čĊĠĠĠ Ġfun Ġdelete ( user : ĠUser ) čĊčĊĠĠĠ Ġ@ Query (" Delete Ġfrom Ġusers ") čĊĠĠĠ Ġfun Ġdelete Table () č Ċ }