From bb4152d2ca2d5183c94609e621010060b34fdfec Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jens=20Pryce-=C3=85klundh?= <112686610+JPryce-Aklundh@users.noreply.github.com> Date: Wed, 27 Aug 2025 13:40:01 +0200 Subject: [PATCH] only 1 --- modules/ROOT/pages/functions/predicate.adoc | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/modules/ROOT/pages/functions/predicate.adoc b/modules/ROOT/pages/functions/predicate.adoc index 5c465c2cf..042db6fff 100644 --- a/modules/ROOT/pages/functions/predicate.adoc +++ b/modules/ROOT/pages/functions/predicate.adoc @@ -141,7 +141,7 @@ The below query finds `KNOWS` paths with a length of `3` where the `accumulator` 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`. .Find aggregated ages within a boundary -// tag::functions_predicate_allreduce_boundary[] +// tag::functions_predicate_allreduce[] [source, cypher] ---- MATCH (s) (()-[:KNOWS]-(n)){3} @@ -154,7 +154,7 @@ RETURN [i IN [s] + n | i.name || " (" + toString(i.age) || ")"] AS ageSequence, reduce(acc = 0, node IN [s] + n | acc + node.age) AS aggregatedAges ORDER BY aggregatedAges ---- -// end::functions_predicate_allreduce_boundary[] +// end::functions_predicate_allreduce[] .Result [role="queryresult",options="header,footer",cols="2*