mirror of
https://github.com/simonw/datasette.git
synced 2025-12-10 16:51:24 +01:00
Fixed remaining code and docs for new block=True default, closes #1579
This commit is contained in:
parent
75153ea9b9
commit
8c401ee0f0
6 changed files with 19 additions and 39 deletions
|
|
@ -770,7 +770,7 @@ Or you can return an async function which will be awaited on startup. Use this o
|
|||
if "my_table" not in await db.table_names():
|
||||
await db.execute_write("""
|
||||
create table my_table (mycol text)
|
||||
""", block=True)
|
||||
""")
|
||||
return inner
|
||||
|
||||
Potential use-cases:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue