Closed MartijnR closed 3 years ago
It would have been better to not support an argument for uuid() and create a new function for a random string of a custom length instead. But presumably, we'll have users that are using an argument.
It would have been better to not support an argument for uuid() and create a new function for a random string of a custom length instead. But presumably, we'll have users that are using an argument.
Agreed. Unfortunately, the uuid(len)
variant has been there since the beginning of time.
As @alxndrsn discovered, a GUID and UUID are the same and should be 128 bits, so it probably say something like:
Without arguments, it returns a random RFC 4122 version 4 compliant UUID. With an argument it returns a random string with the provided number of characters.