Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //A) 146 ms
- Match (s:Shape {id: "1-700-y11-1.1.I"})-[:POINTS]->(p:Point)
- return p
- order by p.sequence;
- //B) Timeout! Bad query I know, but dont know the right way to go about it!
- Match path=(s:Shape {id: "1-700-y11-1.1.I"})-[:POINTS]->(p1:Point)-[:NEXT*]->(p2:Point)
- return collect(p1, p2);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement