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

貢獻者指南