I’ve asked a similar question recently, and got a great reply on solving a many-to-many relationship problem with Lift Mapper. I looked at the ScalaQuery/SLICK documentation but it does not document an approach to persisting data where link tables are involved. If someone knows how to do many-to-many mapping using SLICK, it would be great if you can share it.
Share
This test (created by Stefan Zeiger) is new in the SLICK test suite, and answers the question quite nicely:
Update:
I’m not quite certain what would be the best way integrate business logic and persistence in Scala (as this is more than OO or FP), so I asked a new question about this. Hope this helps someone else who is also curious about this problem.