Uploaded image for project: 'TinkerPop'
  1. TinkerPop
  2. TINKERPOP-1740

Add vertex parameter overload to to() and from()

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 3.3.0
    • process
    • None

    Description

      Make it possible to do this:

      a = g.V(1).next()
      b = g.V(2).next()
      g.V(a).addE("friend").to(b)
      

      This will work withRemote() given that detached elements are re-attached prior to usage with AddEdgeStep.

      Right now you have to do the above with the ugly withSideEffects prefix appendage.

      a = g.addV().next()
      b = g.addV().next()
      g.withSideEffect('b',b).V(a).addE('friend').to('b')
      

      Attachments

        Issue Links

          Activity

            People

              okram Marko A. Rodriguez
              okram Marko A. Rodriguez
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: