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

Add the ability for property() to take a map

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Done
    • 3.5.1
    • 3.6.0
    • process
    • None

    Description

      Add the ability for property() to take a map as an input.  The expectation is that this will unwind the map and save each property to the incoming element.  Expected signatures are:

      ```

      property(Object)

      property(Cardinality, Object)

      ```

      When the cardinality is specified that will be applied to all elements in the map.  If users need different cardinalities per property, then they are expected to fall back to the existing pattern of stringing multiple property() calls together.

      Attachments

        Activity

          People

            spmallette Stephen Mallette
            bechbd Dave Bechberger
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: