Y
Hacker News
new
|
ask
|
show
|
jobs
by
Sohcahtoa82
1484 days ago
Even if you used UUIDs, couldn't you just "select count(id) from articles" to get the list of articles, generate a random number between 0 and the count, then "select id from articles offset {index}"?