mirror of https://github.com/Ashinch/ReadYou.git
DB record null value
This commit is contained in:
parent
2f1263c82c
commit
ee55f671bc
|
@ -18,7 +18,7 @@ interface AccountDao {
|
||||||
WHERE id = :id
|
WHERE id = :id
|
||||||
"""
|
"""
|
||||||
)
|
)
|
||||||
suspend fun queryById(id: Int): Account
|
suspend fun queryById(id: Int): Account?
|
||||||
|
|
||||||
@Insert
|
@Insert
|
||||||
suspend fun insert(account: Account): Long
|
suspend fun insert(account: Account): Long
|
||||||
|
|
Loading…
Reference in New Issue