package Ġde . db ael z . demo . p np stats . data . experience Ċ Ċ import Ġandroidx . room . Dao Ċ import Ġandroidx . room . Insert Ċ import Ġandroidx . room . Query Ċ Ċ @ Dao Ċ interface ĠExperience Dao Ġ{ ĊĠĠĠ Ġ@ Insert ĊĠĠĠ Ġfun Ġinsert ( var arg Ġexperience Entity : ĠExperience Entity ) ĊĊĠĠĠ Ġ@ Query (" SELECT ĠSUM ( experience ) ĠFROM ĠExperience Entity ĠWHERE Ġcharacter Id Ġ= Ġ: character Id ") ĊĠĠĠ Ġfun Ġget Experience For Character ( character Id : ĠInt ): ĠInt ĊĊĠĠĠ Ġ@ Query (" SELECT Ġ* ĠFROM ĠExperience Entity ĠWHERE Ġcharacter Id Ġ= Ġ: character Id ĠORDER ĠBY Ġid ĠDESC ") ĊĠĠĠ Ġfun Ġget Experience Details ( character Id : ĠInt ): ĠList < Experience Entity > Ċ }