Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
cynicalsecurity
on June 5, 2024
|
parent
|
context
|
favorite
| on:
You'll regret using natural keys
> From following the course curriculum, it'd be natural, however, to define a key for the Restaurants table as the combination of restaurantName, cityName, and year. The assumption is that name and city uniquely identifies a restaurant.
That's a strange assumption.
Consider applying for YC's Winter 2026 batch! Applications are open till Nov 10
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search:
That's a strange assumption.