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

Implement TraversalSelectStep

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 3.3.0
    • 3.4.0, 3.3.3
    • process
    • None

    Description

      It should be possible to have nested select() or rather to select dynamic keys.

      gremlin> aliases = ["marko":"okram"]
      gremlin> g.withSideEffect("a", aliases).V().hasLabel("person").
                 values("name").as("n").
                 optional(select("a").select(select("n")))
      ==>okram
      ==>vadas
      ==>josh
      ==>peter
      

      I know there are more steps that could / should allow traversals, but to me select() seems to be the most important one (perhaps because the workaround is / can be super expensive).

      Attachments

        Issue Links

          Activity

            People

              dkuppitz Daniel Kuppitz
              dkuppitz Daniel Kuppitz
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: