-
-
Save tkroman/1bb883e8c161319ed86e to your computer and use it in GitHub Desktop.
rels
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
USING PERIODIC COMMIT 5000 | |
LOAD CSV FROM 'file:///home/roman/dirs1.csv' AS line | |
MATCH | |
(parent:Node {nid: toInt(line[0])}), | |
(child: Node {nid: toInt(line[1])}) | |
CREATE | |
(child)-[:CHILD_OF]->(parent) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment