Advertisement
Guest User

Untitled

a guest
Jun 29th, 2017
55
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.13 KB | None | 0 0
  1. MATCH (n:Country)
  2. WITH n.name AS inputID, collect(n) AS nodes
  3. WHERE size(nodes) > 1
  4. FOREACH (n in tail(nodes) | DETACH DELETE n)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement