gotcha - I agree. I'm in the middle of tweaking D1 support in my `denoflare` tool, and it wasn't to

gotcha - I agree. I'm in the middle of tweaking D1 support in my
denoflare
tool, and it wasn't too hard to add a single one-liner subcommand for exporting a D1 database to a local sqlite DB file:
denoflare d1 export-db your-database-name --file /path/to/downloaded.db


details here if you want to try it out: https://gist.github.com/johnspurlock-skymethod/2e3f1a1d9762f8034d622a53ca7aa1a2
Gist
Export a D1 database to a local sqlite3 db file. GitHub Gist: instantly share code, notes, and snippets.
Was this page helpful?