Replies: 1 comment
-
Are you able to resolve this? Can you please share the solution |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
In gremlin I can travers to children hierarchies through below "repeat - out - tree" query and get hierarchical (tree) infos (not just all vertex). Is there anything available with Gremlinq?
What I actually have :
which generates :
g.V('scopeId','pk').hasLabel('ScopeVertex').repeat(out('ChildMemberEdge').hasLabel('ScopeVertex')).emit()
but this returns only vertexes, with no hierarchy info.
=> what I need is vertexes with "parent Id" or use the ".tree()" step
g.V('scopeId','pk').hasLabel('ScopeVertex').repeat(out('ChildMemberEdge').hasLabel('ScopeVertex')).emit().tree()
but I don't find how to do that with gremlinQ
can anyone help please ?
Thanks.
Beta Was this translation helpful? Give feedback.
All reactions