Wykres commitów

3 Commity (452c5f047ea229dbb444e271183a55381bb4abce)

Autor SHA1 Wiadomość Data
Simon Willison 452c5f047e
Added Travis CI badge to README
Closes #77
2017-11-13 13:24:14 -08:00
Simon Willison 8252e71da4 Limit on max rows returned, controlled by --max_returned_rows option
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
2017-11-13 11:33:01 -08:00
Simon Willison e838bd743d Added README and improved help for 'datasette serve' 2017-11-13 10:41:59 -08:00