mirror of
https://github.com/simonw/datasette.git
synced 2025-12-10 16:51:24 +01:00
Replaced self.ds.execute with db.execute in more places
This commit is contained in:
parent
efa54b439f
commit
f1442a8151
2 changed files with 5 additions and 10 deletions
|
|
@ -300,8 +300,7 @@ class Database:
|
|||
bits = [table_definition_rows[0][0] + ";"]
|
||||
# Add on any indexes
|
||||
index_rows = list(
|
||||
await self.ds.execute(
|
||||
self.name,
|
||||
await self.execute(
|
||||
"select sql from sqlite_master where tbl_name = :n and type='index' and sql is not null",
|
||||
{"n": table},
|
||||
)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue