Open colindean opened 9 months ago
Base cache:
CREATE TABLE IF NOT EXISTS jsonfeed_raw (
scrape_date TEXT PRIMARY KEY DEFAULT (DATE('now')),
raw TEXT NOT NULL
);
Working the jq into a select statement may get rough, though.
https://antonz.org/sqlite-generated-columns/
Could use generated columns to enable creation at insertion time.
https://xeiaso.net/blog/sqlite-json-munge-2022-01-04/