Skip to content

Commit 9ef9741

Browse files
committed
Learn Editor: Update gql-reference-for-sentinel-custom-graph.md
1 parent be46193 commit 9ef9741

1 file changed

Lines changed: 5 additions & 3 deletions

File tree

articles/sentinel/datalake/gql-reference-for-sentinel-custom-graph.md

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -96,16 +96,18 @@ Path patterns describe multi-hop relationships in your graph:
9696
```gql
9797
(a)-[e1]->;(b)-[e2]->(c) -- 2-hop path
9898
(a)-[e]->;{2,4}(b) -- 2 to 4 hops
99-
(a)-[e]->{1,}(b) -- 1 or more hops
99+
(a)-[e]->{1,}(b) -- 1 to maximum of 8 hops
100100
(a)-[:knows|likes]->;{1,3}(b) -- 1-3 hops via knows/likes
101101
p=()-[:works_at]->() -- Binding a path variable
102102
```
103103

104104
**Variable-length paths:**
105105

106106
- `{2,4}`: Exactly 2 to 4 hops
107-
- `{1,}`: 1 or more hops (unbounded)
108-
- `{,3}`: Up to 3 hops
107+
- `{1,}`: 1 or more hops (unbounded). Today, the system limits an unbounded path query to 8 hops
108+
109+
- `{,8}`: Up to 8 hops
110+
109111
- `{5}`: Exactly 5 hops
110112

111113
### Path variables

0 commit comments

Comments
 (0)