time node index.js 2>&1
real 262m20.010s
user 0m0.295s
sys 0m0.983s
node schema.js
jq '.[].name' db.json
jq '.[0].products[].name' db.json
jq '.[0].products[0].subproducts[].name' db.json
jq '.[0].products[0].subproducts[0].skus[]."Product Name"' db.json
jq '.[0].products[0].subproducts[0].skus[0].specs | keys' db.json
\copy ProductTypes FROM 'ProductTypes.csv' DELIMITER ',' CSV HEADER ENCODING 'UTF8';
\copy ProductBrands FROM 'ProductBrands.csv' DELIMITER ',' CSV HEADER ENCODING 'UTF8';
\copy ProductSeries FROM 'ProductSeries.csv' DELIMITER ',' CSV HEADER ENCODING 'UTF8';
\copy Products FROM 'Products.csv' DELIMITER ',' CSV HEADER ENCODING 'UTF8';
\copy ProductsSpecifications FROM 'ProductsSpecifications.csv' DELIMITER ',' CSV HEADER ENCODING 'UTF8';