Daniel Kuppitz created TINKERPOP3-762:
-----------------------------------------
Summary: Allow mid-traversal V() (and E())
Key: TINKERPOP3-762
URL: https://issues.apache.org/jira/browse/TINKERPOP3-762
Project: TinkerPop 3
Issue Type: Improvement
Components: process
Reporter: Daniel Kuppitz
Assignee: Marko A. Rodriguez
We should allow mid-traversal {{V()}} and {{E()}}. It shouldn't be a technical
problem, since we always know the traversal source, thus it's just a simple
{{flatMap}}. Vendors could then implement mid-traversal global index lookups.
*Example*:
{code}
g.V().hasLabel("company").has("name", "DataStax").in("worksFor").as("dse").
V().hasLabel("company").has("name", "Aurelius").in("worksFor").as("ae").
addOutE("dse", "knows", "ae", "since", "02/2015")
{code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)