Cypher randomUUID Function

randomUUID() returns a randomly-generated Universally Unique Identifier (UUID), also known as a Globally Unique Identifier (GUID). This is a 128-bit value with strong guarantees of uniqueness.

Syntax: randomUUID()

Returns: A String.

Example

RETURN randomUUID()

The value returned will be a string of randomly-generated UUID(Universally Unique Identifier) of 128-bit. For example, “82a8e590-c295-408c-8d22-997aaa2ac427”.

Example

RETURN randomUUID()

Returns the following Result

randomUUID()
"318dc3bc-a7d5-431a-a288-081524f54904"

Learn More