agershun/alasql

JSON parser: expressions

mathiasrw asked for this feature about 3 years ago — 1 comment

mathiasrw commented about 3 years ago Admin

https://github.com/agershun/alasql/issues/165

Currently AlaSQL parser requires brackets around expressions in JSON objects, like: sql SELECT {name:(age+1),qty:5} FROM ? These brackets are useless: sql SELECT {name:age+1,qty:5} FROM ?

Also negative numbers are seen as expressions, so at the moment you can only {val:(-1)}

Join the discussion!

Sign-in with GitHub to comment