Skip to content

Commit 35b77b8

Browse files
Merge pull request #314724 from EngageCloud/docs-editor/gql-reference-for-sentinel-cus-1776196772
Update gql-reference-for-sentinel-custom-graph.md
2 parents ebaec98 + 51c69e7 commit 35b77b8

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+
- `{,5}`: Up to 5 hops
110+
109111
- `{5}`: Exactly 5 hops
110112

111113
### Path variables

0 commit comments

Comments
 (0)