Open grojas123 opened 2 years ago
Works if I use
var res = alasql('SELECT features->0->properties->event_set__all->0->category__category , ARRAY(_) AS points FROM ? GROUP BY features->0->properties->event_set__all->0->category__category ',[data]);
but with SELECT features->0->properties->event_set__all->0->category__category AS category
dont work . Pls your guide .
Any inputs here @agershun ?
I am reviewing this example : https://github.com/AlaSQL/alasql/wiki/How-to-group-complex-JSON-object-by-nested-properties I ran the code on my machine (because the Fiddle link didn't work). This is the result I got (I added an extra point to check the GROUP BY). The category I got is undefined and I don't see the results of GROUP BY of the category . Pls your guide on this .
This the final result ,