File tree Expand file tree Collapse file tree 1 file changed +12
-4
lines changed
modules/ROOT/pages/notifications Expand file tree Collapse file tree 1 file changed +12
-4
lines changed Original file line number Diff line number Diff line change @@ -151,7 +151,9 @@ Query::
151151+
152152[source, cypher, role="noplay"]
153153----
154- MATCH p=shortestPath((n)-[*]->(m)) RETURN p
154+ MATCH p=shortestPath((n)-[*]->(m))
155+ WHERE n <> m
156+ RETURN p
155157----
156158
157159Description of the returned code::
@@ -164,7 +166,9 @@ Consider adding an upper limit.
164166+
165167[source, cypher, role="noplay"]
166168----
167- MATCH p=shortestPath((n)-[*..8]->(m)) RETURN p
169+ MATCH p=shortestPath((n)-[*..8]->(m))
170+ WHERE n <> m
171+ RETURN p
168172----
169173======
170174[.include-with-GQLSTATUS-code]
@@ -174,7 +178,9 @@ Query::
174178+
175179[source, cypher, role="noplay"]
176180----
177- MATCH p=shortestPath((n)-[*]->(m)) RETURN p
181+ MATCH p=shortestPath((n)-[*]->(m))
182+ WHERE n <> m
183+ RETURN p
178184----
179185
180186Returned GQLSTATUS code::
@@ -192,7 +198,9 @@ Consider adding an upper limit.
192198+
193199[source, cypher, role="noplay"]
194200----
195- MATCH p=shortestPath((n)-[*..8]->(m)) RETURN p
201+ MATCH p=shortestPath((n)-[*..8]->(m))
202+ WHERE n <> m
203+ RETURN p
196204----
197205======
198206=====
You can’t perform that action at this time.
0 commit comments