BatchDataInconsistentException in Exposed despite providing all non auto-generated columns during INSERT
On my backend, I have a DTO data class that includes information about a PHD Dissertation. It is defined as follows:
Type errors on kotlin 2.0 upgrade
private fun read(): Query { return HostelsTable.join(Users, JoinType.LEFT, additionalConstraint = { HostelsTable.manager eq Users.uid }) .join(otherTable = HostelFacilitiesJunctionTable, joinType = JoinType.LEFT, additionalConstraint = { HostelsTable.id eq HostelFacilitiesJunctionTable.hostel }) After upgrading to kotlin 2.0.0-RC2 HostelsTable.id eq HostelFacilitiesJunctionTable.hostel started giving an error Type argument for a type parameter V can’t be inferred because it has incompatible upper […]
how to write result row function in exposed
I have these three tables in exposed with ktor. I am trying get data from all of these table where train number is equal to given number. And getting back data in JSON format.