mirror of
https://github.com/simonw/datasette.git
synced 2025-12-10 16:51:24 +01:00
table.csv?_stream=1 to download all rows - refs #266
This option causes Datasette to serve ALL rows in the table, by internally following the _next= pagination links and serving everything out as a stream. Also added new config option, allow_csv_stream, which can be used to disable this feature.
This commit is contained in:
parent
5a0a82faf9
commit
619a9ddb33
5 changed files with 69 additions and 44 deletions
|
|
@ -125,3 +125,15 @@ Sets the amount of memory SQLite uses for its `per-connection cache <https://www
|
|||
::
|
||||
|
||||
datasette mydatabase.db --config cache_size_kb:5000
|
||||
|
||||
|
||||
allow_csv_stream
|
||||
----------------
|
||||
|
||||
Enables the feature where an entire table (potentially hundreds of thousands of
|
||||
rows) can be exported as a single CSV file. This is turned on by default - you
|
||||
can turn it off like this::
|
||||
|
||||
::
|
||||
|
||||
datasette mydatabase.db --config allow_csv_stream:off
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue