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

Statement for executing python code on each row #55

Open dcmoura opened 2 years ago

dcmoura commented 2 years ago

e.g.

DO name = json->customer->name
SELECT name
FROM json
WHERE name.startswith('A')

DO might not be the best keyword, e.g. it is used in postgres to execute a single block of code