At some point, don't you just end up making a low-quality, poorly-tested reinvention of SQLite by doing this and adding features?
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 ',');