Re:Sqids – Generate Short Unique IDs from Numbers
by canadiantim on Saturday November 25, 2023 @06:22PM
(#38417710)
I’m currently using sqids as slugs to have a shorter url than just using my uuid primary key
[ Parent
| on HN ]
Re:Sqids – Generate Short Unique IDs from Numbers
by ComputerGuru on Monday November 27, 2023 @09:47AM
(#38432807)
Why would the number the sqid converts to not be your primary key, though? Why do you need the uuid at all?