Save Data in Local storage in ever condition

This commit is contained in:
Kaif
2023-10-13 19:42:34 +05:30
parent 7c4717ebb7
commit 0408ef3fbd
5 changed files with 43 additions and 41 deletions

View File

@@ -20,4 +20,7 @@ interface HemoCubeDao {
@Query("DELETE FROM hemo_cube_test_table WHERE _id = :id")
suspend fun deleteById(id: String)
@Query("UPDATE hemo_cube_test_table SET localFlag = :newValue WHERE _id = :id")
suspend fun updateFieldById(id: String, newValue: Boolean)
}