Skip to content

Instantly share code, notes, and snippets.

@gigenthomas
Last active July 10, 2018 16:03
Show Gist options
  • Save gigenthomas/05bc59d773f00f0191f767a41694f53c to your computer and use it in GitHub Desktop.
Save gigenthomas/05bc59d773f00f0191f767a41694f53c to your computer and use it in GitHub Desktop.
MATCH (s)
WHERE ID(s) = 85
DETACH DELETE s
MATCH (f1:File {name:'Home'}) , (f2:File {name:'t1.txt'})
CREATE (f1)-[:CHILD]->(f2)
CREATE (f2)-[:PARENT]->(f1)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment