mapping the equivalent of a JPA `@Embeddable` type in Slick -


is there slick technique mapping equivalent of jpa @embeddable class? example, if have a

case class money (currency: string, amount: bigdecimal) 

that you'd map default 2 column names in every table money used column type.

i've seen this question, can imagine, tedious class money being used everywhere.


Comments