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
{{ message }}
Repository navigation
How to get the sum of the nodes() in a path (variable length)
#252
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
a -> b -> c -> dAll four of them have
value: 1.I would like to get the sum of all four using
(a { name: 'a'})-[*]-(b { name: 'd'})(which would be 4).I saw that list comprehensions is not supported yet.
Is there a way, maybe, to get the array as rows or something, where I could only access
value?I get:
but I would like to have the sum, or maybe 4 rows.
EDIT: or maybe if I could cast the agtype to a postgresql array somehow.
All reactions