migration (#362)

* migration

* spotless run
This commit is contained in:
Yogesh Choudhary Paliyal
2023-03-05 17:53:39 +05:30
committed by GitHub
parent 146c6178ce
commit 9bbfef35e7
6 changed files with 286 additions and 93 deletions

View File

@@ -42,7 +42,7 @@ interface DbDao {
"OR (notes LIKE '%'||:query||'%' )) " +
"ORDER BY title ASC"
)
fun getAllAccounts(query: String?, tag: String?): LiveData<List<AccountModel>>
fun getAllAccounts(query: String?, tag: String?): List<AccountModel>
@Query("SELECT * FROM account WHERE id = :id")
suspend fun getAccount(id: Long?): AccountModel?