@evgeniya.bell
the array slicing syntax indeed isn’t supported yet - but it will be soon.
For now you can replace this syntax with a nested subquery.
The equivalent of
SELECT VALUE ['a','b','c','d'][1:3]
would be
SELECT VALUE v FROM ['a','b','c','d'] v LIMIT 2 OFFSET 1
So, instead of getting the array entries from 1 to 3 (not including 3) you can get 2 entries, starting with the entry 1.
This query does not work for the children nodes array. My data structure is something similar to:
[
{
“parentId”:1,
"children:[‘a’,‘b’,‘c’,‘d’]
},
{
“parentId”:2,
"children:[‘a’,‘b’,‘c’,‘d’]
}
]
The task is to select parentId node and children node with OFFSET 2. Query that you suggested will work to offset parent array, but not children array. Is there any other way to achieve this? I would prefer stick with Analytics and not Query, but the ability to limit results from children array is essential to the task. Thank you