Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
sneak
on Nov 25, 2023
|
parent
|
context
|
favorite
| on:
Sqids – Generate short unique IDs from numbers
Database PKs usually aren’t random, which AFAIK is what is usually used as the number in this case.
hot_gril
on Nov 28, 2023
[–]
Database PK really shouldn't be exposed like this. I think that's what they're getting at, though. The thing is, sequential database PK is still shorter and more readable than a Sqid.
Consider applying for YC's Spring batch! Applications are open till Feb 11.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: