Skip to content
Better HN
Top
New
Best
Ask
Show
Jobs
Search
⌘K
undefined | Better HN
0 points
wvenable
1y ago
0 comments
Share
Composite keys are fine as long as all the key columns are surrogate keys.
0 comments
default
newest
oldest
SoftTalker
1y ago
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