top | item 34452397

(no title)

xaferel | 3 years ago

That's a good idea but doesn't it need 2 round trips if you use an auto-increment primary key? First insert and then update by hashing the new id.

discuss

order

grncdr|3 years ago

Not the poster you’re replying to, but with this approach you generally don’t store the hashed identifier. Just encode/decode at the application boundaries.

Too|3 years ago

How do you decode a hash?