• 0 Posts
  • 1 Comment
Joined 1 year ago
cake
Cake day: June 15th, 2023

help-circle
  • Personally, I always regarded UUID as one of those overcomplicated and frankly unneded “enterprisey” standards (similar to SOAP and XSD, XSLT and various other XML techonologies). After reading this article my opinion didn’t change.

    Also… do they even know what “version” means? That they choose that word over “type” or any other alternative says it all.

    UUID Version 7 (v7) is generated from a timestamp and random data.

    Use v7 if you’re using the ID in a context where you want to be able to sort. For example, consider using v7 if you are using UUIDs as database keys.

    Please, do NOT rely on that and just add to your tables a field with the actual timestamp.