Query Apache Tinkerpop GraphDB using Gremlin -- Explain the "OutE" and "InV" Steps

2020年05月02日

-
inV(): Edge上in方向那一端的Vertex.

g.V("4").outE().inV().path().toList()
结果:
[path[v[4], e[11][4-created->3], v[3]], path[v[4], e[10][4-created->5], v[5]]]


g.V("4").outE().path().toList()
结果:
[path[v[4], e[11][4-created->3]], path[v[4], e[10][4-created->5]]]
-

Category: GraphDB Tags: public

Upvote


Downvote