6 ms·
There is also a way to import a table from the STDIN (see also https://duckdb.org/docs/data/json/overview https://duckdb.org/docs/data/json/overview) cat my.js
by phmx 2y ago
There is also a way to import a table from the STDIN (see also https://duckdb.org/docs/data/json/overview https://duckdb.org/docs/data/json/overview)
cat my.json | duckdb -c "CREATE TABLE mytbl AS SELECT * FROM read_json_auto('/dev/stdin'); SELECT ... FROM mytbl"