I tried to get columns through column names in DAO, but it didn't work.
@Query("SELECT :columnName FROM info_table")
suspend fun getItem(columnName: String): List<Any>
I have so many columns so It is not proper approach.
@Query("SELECT TIME FROM info_table")
suspend fun getTime(): List<Long>
So How can i deal with it?