Pass label to coalesce
When I want to pass a label to a
coalesce
step I get follwoing error:
this is my code:
Appreciate your help2 Replies
A
fold()
step is a type of reducing barrier step. Those steps destroy the path history along which Gremlin has travelled. Therefore "u" is no longer accessible. In most cases, it's relatively easy to work around this limitation by using a side-effect:
@spmallette thank you so much for your help. I could solve my problem with the help of your answer.