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/functions/predicate.adoc
+2-4Lines changed: 2 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -141,7 +141,7 @@ The below query finds `KNOWS` paths with a length of `3` where the `accumulator`
141
141
Paths that do not meet this requirement are excluded, such as the path with the sequence `["Keanu Reeves (58)", "Carrie Anne Moss (55)", "Guy Pearce (55)", "Liam Neeson (70)"]` which has an aggregated `age` value of `238`.
142
142
143
143
.Find aggregated ages within a boundary
144
-
// tag::functions_predicate_allreduce_boundary[]
144
+
// tag::functions_predicate_allreduce[]
145
145
[source, cypher]
146
146
----
147
147
MATCH (s) (()-[:KNOWS]-(n)){3}
@@ -154,7 +154,7 @@ RETURN [i IN [s] + n | i.name || " (" + toString(i.age) || ")"] AS ageSequence,
154
154
reduce(acc = 0, node IN [s] + n | acc + node.age) AS aggregatedAges
0 commit comments