mirror of
https://github.com/simonw/datasette.git
synced 2025-12-10 16:51:24 +01:00
If someone executes 'select * from table' against a table with a million rows in it, we could run into problems: just serializing that much data as JSON is likely to lock up the server. Solution: we now have a hard limit on the maximum number of rows that can be returned by a query. If that limit is exceeded, the server will return a `"truncated": true` field in the JSON. This limit can be optionally controlled by the new `--max_returned_rows` option. Setting that option to 0 disables the limit entirely. Closes #69 |
||
|---|---|---|
| .. | ||
| test_app.py | ||
| test_utils.py | ||