Christopher Elías
08/13/2020, 7:27 AMWalletDao.java:11: error: Not sure how to convert a Cursor to this method's return type
Has someone experienced something like this?gildor
08/13/2020, 7:31 AMChristopher Elías
08/13/2020, 7:33 AM@Query("""
SELECT w.name, w.category_id, w.currency_id, w.amount_now,
COUNT(money.id) AS movements
FROM wallet w
LEFT JOIN money ON w.id = money.parent_id
WHERE w.id=:walletId
""")
suspend fun get(walletId: Long): Flow<WalletInformationTuple>
Thats itgildor
08/13/2020, 7:37 AMgildor
08/13/2020, 7:37 AMChristopher Elías
08/13/2020, 7:41 AMsuspend
there.Aslam Hossin
08/17/2020, 2:16 AMgildor
08/17/2020, 2:47 AMFlow
as return type, the same error message which you receive for any other unknown type as return value.
Of course it may be some special error message just for this case, but it looks a bit artificial. Tho, it may be an IDE lint warning