[
https://issues.apache.org/jira/browse/TINKERPOP3-652?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14533365#comment-14533365
]
Marko A. Rodriguez commented on TINKERPOP3-652:
-----------------------------------------------
Done. https://twitter.com/twarko/status/596417295271862273 -- now off to kill
{{except()}} and {{retain()}}
> select from Map should be explicit
> ----------------------------------
>
> Key: TINKERPOP3-652
> URL: https://issues.apache.org/jira/browse/TINKERPOP3-652
> Project: TinkerPop 3
> Issue Type: Improvement
> Components: process
> Reporter: Matt Frantz
>
> Currently, {{select}} looks at the value in the traverser, and if it is a
> {{Map}}, it treats its arguments as keys, and extracts values from the
> {{Map}}. Otherwise, it treats its arguments as step labels and extracts
> values from the {{Path}}. It would seem less confusing to make this choice
> explicit.
> The two modes of {{select}} feel a bit like the two modes of {{range}}
> distinguished by the {{Scope}} parameter. Does {{select}} need a {{local}}
> option to make it expect a {{Map}}?
> Or would {{selectKeys}} be more consistent with {{hasKeys}}?
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)