Postgres module

parse_uuid

procedure · 1 overloadsince 0.27.0Source

Uuid from "0f8fad5b-d9cb-469f-a165-70867728950e" (dashes optional, any case).

parse_uuid :: (text: string) -> (Uuid, bool)

Uuid from "0f8fad5b-d9cb-469f-a165-70867728950e" (dashes optional, any case).

Parameters

text: string
the uuid in hex, with or without dashes.

Returns

bool

See also