Live data from Hacker News

DuckDB-GSheets: Read and Write Google Sheets in Pure SQL

github.com

1–2 of 2 posts

Re: DuckDB-GSheets: Read and Write Google Sheets in Pure SQL

#2
DuckDB GSheets is a DuckDB extension that allows you to read and write data from Google Sheets.

-- Install

install gsheets from community;

load gsheets;

-- Authenticate with the browser

create secret (type gsheet);

-- Read

select * from 'https://docs.google.com/spreadsheets/d/11QdEasMWbETbFVxry-Ss...'

-- Write

COPY to 'https://docs.google.com/spreadsheets/d/11QdEasMWbETbFVxry-Ss...' (format gsheet);