I have a sample query with slick as below:
val query =
(for {
(company,loc) <- Company leftJoin Location on (_.locId === _.id)
(_,typeof) <- Company leftJoin Types on (_.typeId === _.id)
} yield (company, loc, typeof))
Is a better way to do multiple joins?
I have tried the suggestions in multiple joins with slick but resulting in errors.