neo4j

Get the type of relationship variables of a node Cypher query neo4j

The below Cypher query will return the variable types of nodes connected with a specific node.

MATCH (:Person {name: 'J.T. Walsh'})-[r]->(movie)
RETURN type(r)
Was this helpful?