Closed cldellow closed 1 year ago
I've been frustrated a few times by the hassle to get a copy of the mutable DB from Fly to my machine. Let's make it so the "Download DB" link works for mutable databases.
This should perhaps be its own plugin, and we'll just depend on it.
Proposal:
VACUUM INTO '/tmp/some-file.db'
allow_download
Fixed in https://github.com/cldellow/datasette-mutable-downloads
I've been frustrated a few times by the hassle to get a copy of the mutable DB from Fly to my machine. Let's make it so the "Download DB" link works for mutable databases.
This should perhaps be its own plugin, and we'll just depend on it.
Proposal:
VACUUM INTO '/tmp/some-file.db'
, then stream that backallow_download
ignores mutability: https://github.com/simonw/datasette/blob/0b4a28691468b5c758df74fa1d72a823813c96bf/datasette/views/database.py#L163-L165