Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.3.3
    • Fix Version/s: 3.4.0
    • Component/s: process
    • Labels:

      Description

      Allow for modulation of the valueMap() step with by() and possibly with() to make it's usage more flexible and consistent. The problem presented in relation to this change is how to easily unwrap the general multi-property structure of valueMap()

      g.V().has('person','name','marko').
        valueMap('name','age').
          by(unfold())
      

      which would yield: [name:marko,age:29] rather than: [name:[marko],age:[29]]. Obviously the by() is just a map over the values in the list of values returned from properties.

      Please see the DISCUSS thread for additional thoughts on the matter to consider.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                dkuppitz Daniel Kuppitz
                Reporter:
                spmallette stephen mallette
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: