package Ġ` in `. tech now olf . ip scanner . data . local Ċ Ċ import Ġandroidx . room . Dao Ċ import Ġandroidx . room . Insert Ċ import Ġandroidx . room . On Conflict Strategy Ċ import Ġandroidx . room . Query Ċ Ċ @ Dao Ċ interface ĠIp Details Dao Ġ{ ĊĠĠĠ Ġ@ Query (" select Ġ* Ġfrom ĠIp Details ") ĊĠĠĠ Ġsuspend Ġfun ĠgetAll Cached IpAddress (): ĠList < Ip Details Entity ?> ĊĊĠĠĠ Ġ@ Query (" select Ġ* Ġfrom ĠIp Details Ġwhere Ġip Address =: ipAddress ") ĊĠĠĠ Ġsuspend Ġfun Ġget Cached IpAddress ( ipAddress : ĠString ): ĠIp Details Entity ? ĊĊĠĠĠ Ġ@ Insert ( on Conflict Ġ= ĠOn Conflict Strategy . ABORT ) ĊĠĠĠ Ġsuspend Ġfun Ġsave Ip Details ( ip Details Entity : ĠIp Details Entity ) Ċ } Ċ