logoalt Hacker News

AprilArcusyesterday at 5:45 PM1 replyview on HN

Those seem like standard needs for any kind of CRUD app, so I would call this approach pretty useful. Currently I do something similar by keeping a private primary uuidv7 key with a btree index (a sortable index), and a separate public uuidv4 with a hash index (a lookup index), which is a workable but annoying arrangement. This solution achieves the same effect and is simpler.


Replies

nightpoolyesterday at 8:28 PM

Why can't you leak timestamp data? What timestamp data is sensitive to your system?

Also, why use UUIDs in that case?