[
https://issues.apache.org/jira/browse/TINKERPOP-1387?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15928352#comment-15928352
]
ASF GitHub Bot commented on TINKERPOP-1387:
-------------------------------------------
Github user spmallette commented on a diff in the pull request:
https://github.com/apache/tinkerpop/pull/574#discussion_r106463235
--- Diff: docs/src/upgrade/release-3.2.x-incubating.asciidoc ---
@@ -63,6 +63,13 @@ See:
link:https://issues.apache.org/jira/browse/TINKERPOP-1599[TINKERPOP-1599]
Upgrading for Providers
--- End diff --
You added something here for providers which is good. I think it would be
good to add something to the users section as well to bring attention to the
new available syntax that is available to them with a links to the respective
reference docs where the new examples are.
> from and to modulators for path steps
> -------------------------------------
>
> Key: TINKERPOP-1387
> URL: https://issues.apache.org/jira/browse/TINKERPOP-1387
> Project: TinkerPop
> Issue Type: Improvement
> Components: process
> Affects Versions: 3.2.1
> Reporter: Daniel Kuppitz
> Assignee: Marko A. Rodriguez
>
> Just had this crazy idea of {{from}} and {{to}} modulators for path steps.
> {code}
> g.V(1).as("a").
>
> repeat(both("knows").simplePath().from("a")).emit().out("created").as("p").in("created").
>
> repeat(both("knows").simplePath().from("p")).emit(hasId(6)).out("created").as("b").
> path().from("a").to("p").as("pathFromMarkoToProject").
> path().from("p").to("b").as("pathFromProjectToPeter").
> match(
> __.as("pathFromMarkoToProject").count(local).is(lte(3)),
> __.as("pathFromProjectToPeter").count(local).is(lte(3))
> ).select("p", "pathFromMarkoToProject", "pathFromProjectToPeter")
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)