chaisql / chai

Modern embedded SQL database
MIT License
1.56k stars 95 forks source link

import json file #444

Open tzzed opened 2 years ago

tzzed commented 2 years ago

Proposal

As we can import csv file, it will be useful to import json file. Even if we can use the genji command insert like this cat foo.json | genji insert --db mydb -t foo

genji>.import json foo.json foo

Motivation

Inside the cli, we can need to import json files as we import csv files.