Skip to main content

uuid_generator

This module is used to generate string UUIDs which can be stored as properties on nodes or edges. The underlying implementation makes use of the uuid-dev library. When using the uuid module on Linux systems, the library can be installed by running sudo apt-get install uuid-dev.

docs-source

TraitValue
Module typeutil
ImplementationC++
Parallelismsequential

Procedures

info

If you want to execute this algorithm on graph projections, subgraphs or portions of the graph, be sure to check out the guide on How to run a MAGE module on subgraphs.

get()

Output:

  • uuid ➡ Returns a UUID string.

Usage:

MATCH (n)
CALL uuid_generator.get() YIELD uuid
SET n.uuid = uuid
RETURN n.uuid AS node_uuid;

Example