Y
Hacker News
new
|
ask
|
show
|
jobs
by
tossandthrow
65 days ago
I use the null uuid as primary key - never had any DB scaling issues.
1 comments
petalmind
65 days ago
Yeah, no NULL is ever equal to any other NULL, so they are basically unique.
link
Groxx
65 days ago
You are also guaranteed to be able to retrieve your data, just query for '... is null'. No complicated logic needed!
link