Advertisement
Guest User

Untitled

a guest
Feb 21st, 2017
63
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.29 KB | None | 0 0
  1. //A) 146 ms
  2. Match (s:Shape {id: "1-700-y11-1.1.I"})-[:POINTS]->(p:Point)
  3. return p
  4. order by p.sequence;
  5.  
  6. //B) Timeout! Bad query I know, but dont know the right way to go about it!
  7. Match path=(s:Shape {id: "1-700-y11-1.1.I"})-[:POINTS]->(p1:Point)-[:NEXT*]->(p2:Point)
  8. return collect(p1, p2);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement