Re:Be Careful with UUID or GUID as Primary Keys
by accnt on Friday June 09, 2017 @05:31PM
(#14524753)
I was wondering a similar implementation. I encrypt/decrypt database IDs to opaque them on the API. For primary entities but not enums/etc.
I separated API vs Core/Database so I wasn't too fond of adapting the entities to add a sort-of public id column so I create it at run-time.
[ Parent
| on HN ]
Re:Be Careful with UUID or GUID as Primary Keys
by ivan_gammel on Saturday June 10, 2017 @03:55AM
(#14526538)
I can share my code on Github, it will be interesting to find some commons. Probably, this approach deserves more attention.