[ 
https://issues.apache.org/jira/browse/TINKERPOP3-803?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14662730#comment-14662730
 ] 

Daniel Kuppitz commented on TINKERPOP3-803:
-------------------------------------------

+1

{{.toArray()}} is even worse in Java.

> 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)

Reply via email to