Comment Comment by archiewood DuckDB GSheets is a DuckDB extension that allows you to read and write data from Google Sheets.-- Installinstall gsheets from community;load gsheets;-- Authenticate with the browsercreate secret (type gsheet);-- Readselect * from 'https://docs.google.com/spreadsheets/d/11QdEasMWbETbFVxry-Ss...'-- WriteCOPY <table_name> to 'https://docs.google.com/spreadsheets/d/11QdEasMWbETbFVxry-Ss...' (format gsheet); parent archiewood 2 years ago
-- 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 <table_name> to 'https://docs.google.com/spreadsheets/d/11QdEasMWbETbFVxry-Ss...' (format gsheet);