Skip to content
Better HN
Top
Best
Ask
Show
New
Jobs
Search
⌘K
0 points
wvenable
1y ago
0 comments
Save
Share
Composite keys are fine as long as all the key columns are surrogate keys.
0 comments
2 comments · 1 top-level
top
newest
oldest
SoftTalker
1y ago
· 1 in thread
High bridges without guardrails are fine as long as you don't fall off.
wvenable
OP
1y ago
Using composite keys can help prevent you from representing invalid states in the database or in your application. They can be guardrails.
j
/
k
navigate · click thread line to collapse