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?
Similar Posts
- Delete node relationship only Cypher query neo4j
- Get node using id Cypher query neo4j
- Get all related nodes of a node using Cypher query neo4j
- Delete a node using id Cypher query
- Get all nodes cypher query neo4j
- Get all nodes with same label using label name Cypher query neo4j
- Get nodes using multiple ids Cypher query neo4j