Slick, how to map a query to an inheritance table model?

前端 未结 2 1667
有刺的猬
有刺的猬 2020-12-30 10:49

Slick, how to map a query to an inheritance table model? i.e,

I have table A, B, C A is the \"parent\" table and B & C are \"child\" tables What I would like to

2条回答
  •  被撕碎了的回忆
    2020-12-30 11:07

    Slick does not support this directly. Some databases can help you with inheritance though, so you should be able to get something close to the desired effect.

    Have a look at the inheritance documentation in PostgreSQL

提交回复
热议问题