| A | |
|---|---|
| B | |
| C | D |
FOR v,e,p IN 1..3 OUTBOUND "columns/0" `table1` RETURN v.title
[
{
"_key": "0",
"id": 0,
"title": "root",
"visible": false
},
{
"_key": "1",
"id": 1,
"title": "A",
"visible": true
},
{
"_key": "2",
"id": 2,
"title": "B",
"visible": false
},
{
"_key": "3",
"id": 3,
"title": "C",
"visible": true
},
{
"_key": "4",
"id": 4,
"title": "D",
"visible": true
}
]
[
{
"_key": "1",
"_from": "columns/0",
"_to": "columns/1"
},
{
"_key": "2",
"_from": "columns/1",
"_to": "columns/2"
},
{
"_key": "4",
"_from": "columns/2",
"_to": "columns/3"
},
{
"_key": "5",
"_from": "columns/2",
"_to": "columns/4"
}
]
RETURN FLATTEN(FOR v,e,p IN 1..3 OUTBOUND "columns/0" `table1` RETURN p.vertices[*].title)
RETURN (FOR v,e,p IN 1..3 OUTBOUND "columns/0" `table1` RETURN p.vertices[*].title)[**]