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/ROOT/pages/introduction/cypher_tutorial.adoc
+35-3Lines changed: 35 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -664,12 +664,44 @@ The below query searches the graph for outgoing relationships from the `Tom Hank
664
664
[source, cypher]
665
665
----
666
666
MATCH (tom:Person {name:'Tom Hanks'})-[r]->(m:Movie)
667
-
Return tom, type(r), m.title
667
+
RETURN type(r) AS type, m.title AS movie
668
668
----
669
669
670
-
The graph returned shows that he has 13 outgoing relationships connected to 12 different `Movie` nodes (12 have the `ACTED_IN` type and one has the `DIRECTED` type).
670
+
The result shows that he has 13 outgoing relationships connected to 12 different `Movie` nodes (12 have the `ACTED_IN` type and one has the `DIRECTED` type).
0 commit comments