tastott / jsoql

A SQL-like language for querying JSON data
http://tastott.github.io/jsoql
3 stars 1 forks source link

Unaggregated sub-query over array property in `SELECT` #98

Closed tastott closed 8 years ago

tastott commented 8 years ago

Currently you can do this:

SELECT
    (SELECT COUNT() FROM SomeArrayProperty) AS Count
FROM
    'file://...'

However, you should also be able to do this:

SELECT
    (SELECT Blah AS Thing FROM SomeArrayProperty) AS TransformedStuff
FROM
    'file://...'