Skip to content
Discussion options

You must be logged in to vote

Hi, that gremlin query could be shortened to g.V().out().hasLabel("EMPLOYEE"). It looks like the hasLabel() in Gremlin doesn't consider inheritance for that case. Since inheritance is a concept that doesn't exist in Gremlin, we hooked up the concept of label with ArcadeDB types.

The opposite query should work, can you try it?

g.V().hasLabel("EMPLOYEE").in()`

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@akshatkhareCCOMTL
Comment options

Answer selected by akshatkhareCCOMTL
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants