simonw / airtable-export

Export Airtable data to YAML, JSON or SQLite files on disk
https://datasette.io/tools/airtable-export
Apache License 2.0
112 stars 15 forks source link

Support specifying a view name (table:view) when querying #8

Open jazzido opened 3 years ago

jazzido commented 3 years ago

Hi @simonw,

Here's a small improvement. I use airtable-export for {in,up}serting data into a SQLite db (with sqlite-utils of course :)). The rows that I need to sync are selected by a boolean condition that I've added as a filter in a table view.

This change adds support for querying views. Eg:

airtable-export export appbeErMVynhHKIYQ table1:new_records table2 "table3:view name with spaces" --ndjson --key keyxxxxxx

Thanks for your great work with the datasette ecosystem of tools 💪🏽

simonw commented 3 years ago

Looks like I introduced conflicts with a recent change I landed on main - very keen to review this if you push a fix for the conflicts.

jazzido commented 3 years ago

Hey, thanks. It should be ready now.

kbsali commented 3 years ago

oh that would be great! :+1:

thorsted commented 1 year ago

would love to see this enhancement