mirror of
https://github.com/simonw/datasette.git
synced 2026-10-21 16:57:03 +02:00
Add --create-wal option to datasette serve
--create creates missing database files but leaves them in the default rollback journal mode. WAL mode is useful for databases that will accept writes, so this adds a --create-wal option that both creates missing files and sets them to WAL mode. Refs #1756
This commit is contained in:
parent
cf113a5985
commit
ac5954bd31
3 changed files with 44 additions and 2 deletions
|
|
@ -132,6 +132,8 @@ Use ``--internal PATH`` or the ``DATASETTE_INTERNAL`` environment variable to pe
|
|||
--pdb Launch debugger on any errors
|
||||
-o, --open Open Datasette in your web browser
|
||||
--create Create database files if they do not exist
|
||||
--create-wal Create database files if they do not exist, in
|
||||
WAL mode
|
||||
--crossdb Enable cross-database joins using the /_memory
|
||||
database
|
||||
--nolock Ignore locking, open locked files in read-only
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue