UUID functions
UUID functions are used to create Universally Unique Identifiers (UUIDs).
Function | Description | Example | Result |
---|---|---|---|
UUID(string) | creates a UUID object from a string | UUID('{a0eebc99-9c0b-4ef8-bb6d-6bb9bd380a11}') | a0eebc99-9c0b-4ef8-bb6d-6bb9bd380a11 |
gen_random_uuid() | creates a random UUID object | gen_random_uuid() | a0eebc99-9c0b-4ef8-bb6d-6bb9bd380a11 (or similar) |