spmallette commented on code in PR #3241:
URL: https://github.com/apache/tinkerpop/pull/3241#discussion_r2445893746


##########
docs/src/reference/the-traversal.asciidoc:
##########
@@ -4162,6 +4168,25 @@ In OLAP, where the atomic unit of computing is the 
vertex and its local "star gr
 anonymous traversals do not leave the confines of the vertex's star graph. In 
other words, they can not traverse to
 an adjacent vertex's properties or edges.
 
+==== Using limit(), skip(), range() inside repeat()
+
+When using globally-scoped (default scope) `limit()`, `skip()`, or `range()` 
steps inside `repeat()`, each iteration of 
+the repeat gets its own counter, ensuring consistent behavior across 
iterations:
+
+[gremlin-groovy,grateful-dead]
+----
+g.V().has('name','JAM').repeat(out('followedBy').limit(2)).times(3) <1>
+g.V().has('name','DRUMS').repeat(in('followedBy').range(1,3)).times(2) <2>

Review Comment:
   i think that's going to have to be `__.in` or groovy won't process it when 
the documentation is generated.



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

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to