Hi,

You're correct in one sense.  If I remove the path, or other columns, from
the RETURN statement then I can get a single SUM value back for all the
properties in the entire tree below my starting node.

My problem is that I want to return multiple rows, a row for each path
through the graph, with the SUM of the properties of the nodes traversed so
far on that single path.

The idea is that I want to know which branch in the tree of posts and
replies has the highest total vote count.

Removing other columns from the RETURN statement as you suggest will only
give me the SUM of votes for the whole tree, not per branch.

Cheers!

--
View this message in context: 
http://neo4j-community-discussions.438527.n3.nabble.com/Cypher-Aggregation-functions-specifically-SUM-tp3450203p3450996.html
Sent from the Neo4j Community Discussions mailing list archive at Nabble.com.
_______________________________________________
Neo4j mailing list
[email protected]
https://lists.neo4j.org/mailman/listinfo/user

Reply via email to