https://kotlinlang.org logo
#exposed
Title
# exposed
m

Manas Marthi

11/29/2023, 6:42 PM
I don't understand this. Can someone please explain How is the relation between
StarWarsFilms
table and a rown instance
StarWarsFilm
is established?
Copy code
class StarWarsFilm(id: EntityID<Int>) : IntEntity(id) {
 companion object : IntEntityClass<StarWarsFilm>(StarWarsFilms)
 var sequelId by StarWarsFilms.sequelId 
 var name     by StarWarsFilms.name
 var director by StarWarsFilms.director
}
a

Aleksei Tirman [JB]

11/30/2023, 8:36 AM
So does you solution work as expected or not?
m

Manas Marthi

12/09/2023, 11:44 AM
Hi, I switched to Jdbi for now due to time crunch. Exposed needs some more experimentation for me