DB record null value

This commit is contained in:
Ash 2022-05-16 11:16:42 +08:00
parent 2f1263c82c
commit ee55f671bc
1 changed files with 1 additions and 1 deletions

View File

@ -18,7 +18,7 @@ interface AccountDao {
WHERE id = :id
"""
)
suspend fun queryById(id: Int): Account
suspend fun queryById(id: Int): Account?
@Insert
suspend fun insert(account: Account): Long