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 2017/08/04 16:26:00 UTC
[jira] [Closed] (TINKERPOP-1740) Add vertex parameter overload to
to() and from()
[ https://issues.apache.org/jira/browse/TINKERPOP-1740?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Marko A. Rodriguez closed TINKERPOP-1740.
-----------------------------------------
Resolution: Fixed
Fix Version/s: 3.3.0
> Add vertex parameter overload to to() and from()
> ------------------------------------------------
>
> Key: TINKERPOP-1740
> URL: https://issues.apache.org/jira/browse/TINKERPOP-1740
> Project: TinkerPop
> Issue Type: Improvement
> Components: process
> Reporter: Marko A. Rodriguez
> Assignee: Marko A. Rodriguez
> Fix For: 3.3.0
>
>
> Make it possible to do this:
> {code}
> a = g.V(1).next()
> b = g.V(2).next()
> g.V(a).addE("friend").to(b)
> {code}
> This will work {{withRemote()}} given that detached elements are re-attached prior to usage with {{AddEdgeStep}}.
> Right now you have to do the above with the ugly {{withSideEffects}} prefix appendage.
> {code}
> a = g.addV().next()
> b = g.addV().next()
> g.withSideEffect('b',b).V(a).addE('friend').to('b')
> {code}
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)