package Ġcom . alpha e . r ish i . tow atch . Database Ċ Ċ import Ġandroid . arch . persistence . room . Dao Ċ import Ġandroid . arch . persistence . room . Delete Ċ import Ġandroid . arch . persistence . room . Insert Ċ import Ġandroid . arch . persistence . room . Query Ċ Ċ /** Ċ Ġ* ĠCreated Ġby Ġr ish i Ġon Ġ 9 / 5 / 1 8 . Ċ Ġ*/ Ċ @ Dao Ċ interface ĠW atched Dao Access Ġ{ ĊĊĠĠĠ Ġ@ Insert ĊĠĠĠ Ġfun Ġinsert Movie ( movie : ĠW atched List ) ĊĊĠĠĠ Ġ@ Query (" SELECT Ġ* ĠFROM Ġw atched _ list ĠWHERE Ġmovie _ Id Ġ= Ġ: movie Id ") ĊĠĠĠ Ġfun Ġfetch Movie ( movie Id : ĠLong ): ĠList < W atched List > ĊĊĠĠĠ Ġ@ Query (" SELECT Ġ* ĠFROM Ġw atched _ list ") ĊĠĠĠ Ġfun Ġfetch All Movies (): ĠList < W atched List > ĊĊĠĠĠ Ġ@ Delete ĊĠĠĠ Ġfun Ġdelete Movie ( movie : ĠW atched List ) Ċ Ċ }