graph databases - how to "join" two vertices on Gremlin? -


I get some trouble with the Gremlin console; Here is my schema

gremlin

Knowledge:

  • ID1 (top) ID 3 (top)
  • Label: "created" (edge)

    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

    Popular posts from this blog

    mysql - BLOB/TEXT column 'value' used in key specification without a key length -

    c# - Using Vici cool Storage with monodroid -

    python - referencing a variable in another function? -