Hi all, new to exposed, is there a way to get data...
# exposed
j
Hi all, new to exposed, is there a way to get data from a junction table with the DAO? like in the github example if there’re extra columns in the
StartWarsFilmActors
and in the dao class like:
Copy code
class StarWarsFilm(id: EntityID<Int>) : IntEntity(id) {
    companion object : IntEntityClass<StarWarsFilm>(StarWarsFilms)
    ...
    var actors by Actor via StarWarsFilmActors
    var extraDataFromJunctionTable // ?
    ...
}
c
Hi @Jeffrey Kwok This is a known issue so I've created a new YouTrack ticket to bring more attention to it (please feel free to upvote and track). The ticket also has links to relevant issue discussions and will be updated as options are investigated (particularly as we work towards supporting composite primary keys with DAO).
🙏🏼 1