edges
This commit is contained in:
@@ -70,7 +70,6 @@ CREATE CONSTRAINT individu_id IF NOT EXISTS
|
|||||||
```cypher
|
```cypher
|
||||||
LOAD CSV WITH HEADERS
|
LOAD CSV WITH HEADERS
|
||||||
FROM 'file:///edges.csv' AS row
|
FROM 'file:///edges.csv' AS row
|
||||||
FIELDTERMINATOR ';'
|
|
||||||
MATCH (a:Individu {id: toInteger(row.source)})
|
MATCH (a:Individu {id: toInteger(row.source)})
|
||||||
MATCH (b:Individu {id: toInteger(row.target)})
|
MATCH (b:Individu {id: toInteger(row.target)})
|
||||||
MERGE (a)-[r:AMI]->(b)
|
MERGE (a)-[r:AMI]->(b)
|
||||||
|
|||||||
Reference in New Issue
Block a user