package Ġcom . z iz oh . ule sson . cache . room . dao Ċ Ċ import Ġandroidx . room .* Ċ import Ġcom . z iz oh . ule sson . cache . models . Subject Cache Model Ċ import Ġkotlinx . coroutines . flow . Flow Ċ Ċ /** Ċ Ġ* ĠCreated Ġby Ġz iz oh Ġon Ġ 1 8 / January / 2 0 2 1 . Ċ Ġ*/ Ċ Ċ @ Dao Ċ interface ĠSubject Dao Ġ{ ĊĊĠĠĠ Ġ@ Insert ( on Conflict Ġ= ĠOn Conflict Strategy . REPLACE ) ĊĠĠĠ Ġsuspend Ġfun Ġsave Subject s ( subjects : ĠList < Subject Cache Model >) ĊĊĠĠĠ Ġ@ Transaction ĊĠĠĠ Ġ@ Query (" SELECT Ġ* ĠFROM Ġ Ġsubjects ") ĊĠĠĠ Ġfun Ġget Subject s (): ĠFlow < List < Subject Cache Model >> Ċ }