mirror of
https://github.com/simonw/datasette.git
synced 2025-12-10 16:51:24 +01:00
parent
182a3017c2
commit
026c84db30
5 changed files with 78 additions and 72 deletions
|
|
@ -42,7 +42,7 @@ class IndexView(RenderMixin):
|
|||
table_counts = {}
|
||||
tables = {}
|
||||
for table in table_names:
|
||||
table_columns = await self.ds.table_columns(name, table)
|
||||
table_columns = await db.table_columns(table)
|
||||
tables[table] = {
|
||||
"name": table,
|
||||
"columns": table_columns,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue