edges
This commit is contained in:
10
reponses.md
10
reponses.md
@@ -29,15 +29,7 @@ MATCH (i:Individu {id: 58 })
|
||||
RETURN i;
|
||||
```
|
||||
|
||||
```cypher
|
||||
LOAD CSV WITH HEADERS
|
||||
FROM 'file:///edges.csv' AS row
|
||||
FIELDTERMINATOR ';'
|
||||
MATCH (a:Individu {id: toInteger(row.source)})
|
||||
MATCH (b:Individu {id: toInteger(row.target)})
|
||||
MERGE (a)-[r:AMI]->(b)
|
||||
MERGE (b)-[r2:AMI]->(a);
|
||||
```
|
||||
|
||||
|
||||
```cypher
|
||||
MATCH (i:Individu)
|
||||
|
||||
Reference in New Issue
Block a user