spmallette commented on a change in pull request #1267: Add in example of using
path with to or from modulators to the documentation
URL: https://github.com/apache/tinkerpop/pull/1267#discussion_r396402381
##########
File path: docs/src/reference/the-traversal.asciidoc
##########
@@ -2185,6 +2185,28 @@ g.V().out().out().path().by(
__.in('created').values('name')).fold())
----
+It's possible to limit the path using the <<to-step,`to()`>> or
<<from-step,`from()`>> step modulators.
+
+[gremlin-groovy,modern]
+----
+g.V().has('person','name','vardas').as('e').
Review comment:
thanks for the pull request. i was a bit surprised to see we had no examples
for that. could you please these are good examples, though, you misspelled
"vadas" as "vardas" so the queries return no results. if you could please fix
that, i'd be happy to get this merged.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services