Similar to my previous post, this code generates a UUID of the new v7 type, which has a Unix-timestamp base. This keeps UUIDs sortable by creation-date, which is useful when using them as database keys, for example You can either use this inline in your select statement, or convert it to a function.
-
About
This it Itsacon's Log, where Itsacon records his journey towards world domination, supreme enlightenment or the unknown (whichever happens first). -
Personal sites