I have in a couchbase bucket documents having this structure:
"name": {
"grandfather": {
"parent1": {
"child1": [
{
.....
"uid": "value1",
},
{
"uid": "value2",
}
],
},
"parent2": {
"child2"
[
{
"uid": "value3",
}
],
}
}
}
I would need a query that returns
{
{
"uid": "value1",
},
{
"uid": "value2",
}
{
"uid": "value3",
}
}
.. intuitively something like:
select grandfather.*.*.uid from name;
but this one doesn't work. If someone can help, thank you