You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: modules/Neo4jPlugin/README.md
+3-1Lines changed: 3 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -50,6 +50,8 @@ With this configuration, you can define precisely what you want to import.
50
50
It's really useful when you want to project your graph (ex: create the colleagues graph when in your database you have `(:Person)-[:WORK_AT]->(:Company)` )
51
51
52
52
The node query must return a field named *id* that is the unique identifier of your node.
53
-
The edge query must return a field named *id* that is the unique identifier of your edge, but also a *sourceId* & *targetId* that must match an id from the node query
53
+
Ex: `MATCH (n) RETURN id(n) AS id, labels(n) AS labels`
54
54
55
+
The edge query must return a field named *id* that is the unique identifier of your edge, but also a *sourceId* & *targetId* that must match an id from the node query
56
+
Ex: `MATCH (n)-[r]->(m) RETURN id(r) AS id, type(r) AS type, id(n) AS sourceId, id(m) AS targetId`
0 commit comments