dcmoura / spyql

Query data on the command line with SQL-like SELECTs powered by Python expressions
https://spyql.readthedocs.io
MIT License
918 stars 25 forks source link

Create easy syntax for JSON fields #2

Closed dcmoura closed 3 years ago

dcmoura commented 3 years ago

e.g. SELECT json->id, json->data->ts FROM json

Transform to json['id'], json['data']['ts'] and handle exceptions to return None in case of key error.