im sure, but honestly, i would love to have a db engine that just writes/reads csv or json. does it exist?
SELECT \* from read_csv('example.csv');
Writing generally involves reading to an in-memory database, making whatever changes you want, then something like COPY new_table TO 'example.csv' (HEADER true, DELIMITER ',');$ sqlite3 :memory:
.import myfile.csv mytable
SELECT * FROM mytable;
$ sqlite3 :memory:
SELECT *
FROM csv_read('myfile.csv');