Is there anything available for hierarchical relations? #783
Answered
by
danielcweber
ajmal-yazdani
asked this question in
Q&A
-
In gremlin I can travers to parent hierarchies through below "repeat - out" query. Is there anything available with Gremlinq? g.V().has('name', 'D').repeat(out('parent')).emit().values('name') Thanks. |
Beta Was this translation helpful? Give feedback.
Answered by
danielcweber
Sep 6, 2022
Replies: 1 comment
-
There's the Loop-method that let's you build all kinds of repeat-until-emit constructs. See a unit test here. |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
ajmal-yazdani
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
There's the Loop-method that let's you build all kinds of repeat-until-emit constructs. See a unit test here.