[
https://issues.apache.org/jira/browse/TINKERPOP-2665?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Stephen Mallette closed TINKERPOP-2665.
---------------------------------------
Fix Version/s: 3.6.0
Assignee: Stephen Mallette
Resolution: Done
> Add the ability for property() to take a map
> --------------------------------------------
>
> Key: TINKERPOP-2665
> URL: https://issues.apache.org/jira/browse/TINKERPOP-2665
> Project: TinkerPop
> Issue Type: Improvement
> Components: process
> Affects Versions: 3.5.1
> Reporter: Dave Bechberger
> Assignee: Stephen Mallette
> Priority: Minor
> Fix For: 3.6.0
>
>
> 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.
--
This message was sent by Atlassian Jira
(v8.20.1#820001)