Should be: ``` @Dao interface BottomBarIconDao { ...
# android
l
Should be:
Copy code
@Dao
interface BottomBarIconDao {

    @Query("SELECT * FROM icons")
    fun getAll(): List<BottomBarIcon>

    @Query("DELETE FROM icons")
    fun deleteAll()

    @Insert
    fun insertAll(vararg icons: BottomBarIcon)
}
n
so you basically used wrong object?
ByteArray
vs
BottomBarIcon
?
l
yes