this doesn't compile anymore after updating: `Resu...
# exposed
a
this doesn't compile anymore after updating:
ResultRow.get(Max(Table.id, IntegerColumnType()))
I can make it work by casting:
it[Max(Tableid, IntegerColumnType()) as Expression<Int>]
t
Tableid
is
Column<EntityID<Int>>
?
Try:
Copy code
val maxId = Table.id.max()
val maxValue resultRow[maxId]
a
That works, but has to be on separate lines
t
Yep, looks like a type inference bug. I'll report it to kotlin team.