You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tinkerpop.apache.org by "Marko A. Rodriguez (JIRA)" <ji...@apache.org> on 2015/08/07 23:35:46 UTC

[jira] [Created] (TINKERPOP3-803) A better solution to g.V(someCollection.toArray())

Marko A. Rodriguez created TINKERPOP3-803:
---------------------------------------------

             Summary: A better solution to g.V(someCollection.toArray())
                 Key: TINKERPOP3-803
                 URL: https://issues.apache.org/jira/browse/TINKERPOP3-803
             Project: TinkerPop 3
          Issue Type: Improvement
          Components: process
            Reporter: Marko A. Rodriguez
            Assignee: Marko A. Rodriguez


Many times people will have a {{List<Object>}}. In order to make those ids for {{V()}} they have to do {{V(list.toArray())}}. Can we do something better here? How about {{g.V(list)}}.

If you provide a single argument and its a collection, then its assume that you want the collection unfolded and that the collection itself is not the ID of the vertex.

?? am I missing something?



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)