duffrey
ATApache TinkerPop
•Created by duffrey on 9/11/2023 in #questions
Trying to find a Vertex using a variable injected earlier in the traversal
Awesome. Thanks
8 replies
ATApache TinkerPop
•Created by duffrey on 9/11/2023 in #questions
Trying to find a Vertex using a variable injected earlier in the traversal
In this case I could do an addV and then know that the edge doesn't exist so the mergeE could only be a create. But if the merge functions are going to be more broadly capable it would still be good to know if there is a way to detect a collision from the merge
8 replies
ATApache TinkerPop
•Created by duffrey on 9/11/2023 in #questions
Trying to find a Vertex using a variable injected earlier in the traversal
Yeah, I can do that. I am on 3.6.2. I think the reason that I wanted to use the
add
functions instead of the merge
function is that I wanted it to fail if there was a collision. Do you know if there is a way to set the OnMatch
to throw an error?8 replies