package Ġcom . to g gl . database . dao Ċ Ċ import Ġandroidx . room . Dao Ċ import Ġandroidx . room . Delete Ċ import Ġandroidx . room . Insert Ċ import Ġandroidx . room . Query Ċ import Ġandroidx . room . Update Ċ import Ġcom . to g gl . database . models . Database Workspace Ċ Ċ @ Dao Ċ interface ĠWorkspace Dao Ġ{ ĊĠĠĠ Ġ@ Query (" SELECT Ġ* ĠFROM Ġwork spaces ") ĊĠĠĠ Ġfun ĠgetAll (): ĠList < Database Workspace > ĊĊĠĠĠ Ġ@ Query (" SELECT Ġ* ĠFROM Ġwork spaces ĠWHERE Ġid Ġ= Ġ: id ") ĊĠĠĠ Ġfun Ġget One ( id : ĠLong ): ĠDatabase Workspace ĊĊĠĠĠ Ġ@ Insert ĊĠĠĠ Ġfun Ġinsert All ( var arg Ġdatabase Work spaces : ĠDatabase Workspace ): ĠList < Long > ĊĊĠĠĠ Ġ@ Insert ĊĠĠĠ Ġfun Ġinsert ( database Workspace : ĠDatabase Workspace ): ĠLong ĊĊĠĠĠ Ġ@ Update ĊĠĠĠ Ġfun Ġupdate ( database Workspace : ĠDatabase Workspace ) ĊĊĠĠĠ Ġ@ Update ĊĠĠĠ Ġfun Ġupdate All ( database Work spaces : ĠList < Database Workspace >) ĊĊĠĠĠ Ġ@ Delete ĊĠĠĠ Ġfun Ġdelete ( database Workspace : ĠDatabase Workspace ) Ċ }