apoc.schema.relationships
Procedure APOC Core
CALL apoc.schema.relationships([config]) yield name, startLabel, type, endLabel, properties, status
Signature
apoc.schema.relationships(config = {} :: MAP?) :: (name :: STRING?, type :: STRING?, properties :: LIST? OF STRING?, status :: STRING?)
Usage Examples
The examples in this section are based on a database that has applied the following constraints:
CREATE CONSTRAINT likesDay
ON ()-[like:LIKED]-()
ASSERT EXISTS (like.day);
CALL apoc.schema.relationships();
name | type | properties | status |
---|---|---|---|
"CONSTRAINT ON ()-[liked:LIKED]-() ASSERT exists(liked.day)" |
"RELATIONSHIP_PROPERTY_EXISTENCE" |
["day"] |
"" |