Sudhir Singh Khanger
07/29/2019, 9:35 AM@Query("SELECT * FROM apod WHERE id = :id")
fun getItemById(id: String): SomeEntity?
Repository
executors.diskIO().execute {
Timber.e("Available %s", someDao.getItemByIdD(someString).toString())
}
I keep getting null for someDao.getItemByIdD(someString).toString()
PS: I have Googled unsuccessfully. So that you know.
PS2: Seems like the issue is hyphen or other special characters in the sqlite.