[ 
https://issues.apache.org/jira/browse/TINKERPOP-3256?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18146303#comment-18146303
 ] 

ASF GitHub Bot commented on TINKERPOP-3256:
-------------------------------------------

Cole-Greer commented on code in PR #3763:
URL: https://github.com/apache/tinkerpop/pull/3763#discussion_r4602421596


##########
docs/src/reference/the-traversal.asciidoc:
##########
@@ -3388,12 +3388,32 @@ The following `MATCH` patterns are supported:
 |`-[:Label]-` |Labeled undirected edge
 |`-[e:Label]-` |Named and labeled undirected edge
 |`-[e:Label {key: 'value'}]-` |Named, labeled undirected edge with an inline 
property filter
+|`-[e:Label]->{m,n}` |Quantified edge that matches a walk of `m` to `n` edges

Review Comment:
   I've added a pair of quantified undirected edge examples, without spinning 
through all permutations. I think's sufficient to give users the right idea. 
Who knows how agents will "think" about it. I expect they can gather enough 
context from these examples and the extra text below.





> Variable-length path patterns
> -----------------------------
>
>                 Key: TINKERPOP-3256
>                 URL: https://issues.apache.org/jira/browse/TINKERPOP-3256
>             Project: TinkerPop
>          Issue Type: Improvement
>          Components: gql
>    Affects Versions: 4.0.0
>            Reporter: Stephen Mallette
>            Priority: Major
>
> Patterns like (a)-[:knows*1..3]->(b) are not supported. Add quantified edge 
> syntax to GQL.g4 and the executor.



--
This message was sent by Atlassian Jira
(v10.3.26#10030026)

Reply via email to