clownface
clownface copied to clipboard
Support recursion
From https://tinkerpop.apache.org/gremlin.html, click on example 3
Something like:
g.V().has("name","gremlin").
repeat(in("manages")).
until(has("title","ceo")).
path().by("name")
@martinmaillard could you give an example for what you had in mind?
What I was trying to solve was: "find all the subclasses of a class". Since it is inherently a recursive query, I don't think there is a way to solve it with the current API. But I don't really have a solution in mind.
Gremlin's repeat + until would probably work, but I'm not sure how it would look like in clownface.