JSON parser: expressions

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

mathiasrw commented about 5 years ago Admin

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!

with GitHub to comment