'pls, can someone help on how to solve this error?
if have a dao
@Dao
interface LetterDao {
@Query("SELECT * FROM `letter.db`")
fun getLetters(query: SupportSQLiteQuery): DataSource.Factory<Int, Letter>
...
}
error:
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.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
Solution | Source |
---|