graph databases - how to "join" two vertices on Gremlin? -
I get some trouble with the Gremlin console; Here is my schema
Knowledge:
I would like ID 9 (edge) Receive
v = gv (1)
v.outE ("created"). ID
works only when the "only" border is created
You can do this:
Ge (9)
Or, filtering from V [1]: < Pre>
GV (1) .oute ('created') [[id: 9]]
Or, if you want to get the edges created between 1 and 3 Meaning:
gv (1) .oute ('(' X '). InV [[id: 3]] back (' x '). Id gv (1) .oute ('Created'). InV [[id: 3]].
Comments
Post a Comment