Added --load-extension argument to datasette serve

Allows loading of SQLite extensions. Refs #110.
This commit is contained in:
Simon Willison 2017-11-16 08:46:04 -08:00
commit b7c4165346
5 changed files with 23 additions and 3 deletions

View file

@ -96,6 +96,7 @@ http://localhost:8001/History/downloads.jsono will return that data as JSON in a
--max_returned_rows INTEGER Max allowed rows to return at once - default is
1000. Set to 0 to disable check entirely.
--sql_time_limit_ms INTEGER Max time allowed for SQL queries in ms
--load-extension TEXT Path to a SQLite extension to load
--inspect-file TEXT Path to JSON file created using "datasette
build"
-m, --metadata FILENAME Path to JSON file containing license/source