Answers for "get topmost parent in neo4j hierarchy"

0

get topmost parent in neo4j hierarchy

MATCH (Segment1)-[:Leaf]->(Op1)-[:Account]->(Ac2)-[*:Parent]->(Acc)
WHERE NOT (Acc)-[:Parent]->()
RETURN Acc;
Posted by: Guest on January-04-2021

Browse Popular Code Answers by Language