@songying
2021-01-25T10:21:13.000000Z
字数 311
阅读 547
neo4j
http://weikeqin.com/2017/04/14/neo4j-import-data/
LOAD CSV WITH HEADERS FROM "file:///all_word.csv" AS line
MERGE (p:person{id:line.id,word:line.word})
LOAD CSV WITH HEADERS FROM "file:///res.csv" AS line
match (from:person{id:line.from_id}),(to:person{id:line.to_id})
merge (from)-[r:rel{property:line.property}]->(to)