Description
Currently query only support single level groupBy on query.
for example, "groupBy": ["a", "b"] will use two fields on each edge to group by one time.
user may want to group by collection of edges first by "a", then groupBy grouped collection by "b" secondly.
I am not sure how many level we should support but I think it would be better to provide 2 or 3 level groupBy on result.
Also currently, user can`t limit their grouped edges size so I am suggesting following.
before "groupBy": ["a", "b"] after "groupBy": [ {"key": ["a", "b], "limit": 10}, {"key": ["c"], "limit": 2} ]
Firstly I want to ask if this support on query is even necessary. Any feedback is welcomed.