Pass label to coalesce
When I want to pass a label to a
this is my code:
Appreciate your help
coalesce step I get follwoing error:this is my code:
Appreciate your help
coalesce"addE(occupied) failed because the from() traversal (which should give a Vertex) failed with: The provided traverser does not map to a value: v[10190][TinkerVertex]->[SelectOneStep(last,u,null)g.addV('user').property('name', 'mari').as('u').
out().has('location','name', "Z").fold().
coalesce(
__.unfold(),
__.addV('location').property('name', "Z").as("loc").
addE('occupied').from('u').to('loc')
)