haskell-beam/beam

Composite PK support

开放

#792 创建于 2026年4月9日

 (2 条评论) (0 个反应) (0 位负责人)Haskell (191 个派生)auto 404
docsgood first issuehelp wanted

仓库指标

星标
 (631 个星标)
PR 合并指标
 (PR 指标待抓取)

描述

From the docs, it's unclear if Beam supports composite PKs -- i.e. primary keys which reference two or more columns. I imagine there are different ways of doing this (perhaps a product type, perhaps a tuple), but without being too familiar with type families and Beam internals, I'm not able to figure out how to do this

贡献者指南