apoc.uuid.list

Procedure APOC Full

CALL apoc.uuid.list() yield label, installed, properties | provides a list of all the uuid handlers installed with the related configuration

Signature

apoc.uuid.list() :: (label :: STRING?, installed :: BOOLEAN?, properties :: MAP?)

Output parameters

Name Type

label

STRING?

installed

BOOLEAN?

properties

MAP?

Enable automatic UUIDs

This procedure is part of a set of procedures that handle automatic adding of UUID properties, via the UUID Handler Lifecycle. The UUID handler is a transaction event handler that automatically adds the UUID property to a provided label and for the provided property name.

By default automatic adding of UUIDs is disabled. We can enable it by setting the following property in apoc.conf:

apoc.conf
apoc.uuid.enabled=true

Usage Examples

We can list all the UUID handlers (installed by apoc.uuid.install), by running the following query:

CALL apoc.uuid.list();
Table 1. Results
label installed properties

"Person"

TRUE

{uuidProperty: "myUUID"}