Joe Altidore
07/05/2022, 8:20 AMerror: Query method parameters should either be a type that can be converted into a database column or a List / Array that contains such type. You can consider adding a Type Adapter for this.
kotlin.coroutines.Continuation<? super java.lang.Integer> continuation);
and this is the DAO Query throwing the error:
@Query("""
SELECT COUNT(*) FROM enrolment
""")
suspend fun getEnrolmentCount(): Int?
Ken Shackleton
07/05/2022, 8:25 AMKrystian Demidiuk
07/05/2022, 8:26 AMJoe Altidore
07/05/2022, 8:31 AMimplementation "androidx.room:room-runtime:2.4.2"
kapt "androidx.room:room-compiler:2.4.2"
Krystian Demidiuk
07/05/2022, 9:22 AMJoe Altidore
07/05/2022, 11:48 AMWesley Jonathan Marcolino
07/05/2022, 4:30 PM2.5.0-alpha02
fixed the issue for me.Joe Altidore
07/05/2022, 5:45 PM