mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-11 08:52:06 +00:00
33 lines
211 B
Plaintext
33 lines
211 B
Plaintext
Get hierarchy
|
|
[]
|
|
[1]
|
|
[2,1]
|
|
[3,1]
|
|
[4,2,1]
|
|
[]
|
|
Get is in hierarchy
|
|
1
|
|
1
|
|
0
|
|
Get children
|
|
[1]
|
|
[2,3]
|
|
[4]
|
|
[]
|
|
[]
|
|
[]
|
|
Get all descendants
|
|
[1,2,3,4]
|
|
[2,3,4]
|
|
[4]
|
|
[]
|
|
[]
|
|
[]
|
|
Get descendants at first level
|
|
[1]
|
|
[2,3]
|
|
[4]
|
|
[]
|
|
[]
|
|
[]
|