kopia lustrzana https://github.com/simonw/datasette
Removed table_count() method - I don't need it after all
rodzic
938e072ece
commit
f5e7db07aa
|
@ -359,10 +359,6 @@ class Datasette:
|
|||
)
|
||||
return bool(results.rows)
|
||||
|
||||
async def table_count(self, database, table):
|
||||
results = await self.execute(database, "select count(*) from [{}]".format(table))
|
||||
return results.rows[0][0]
|
||||
|
||||
async def expand_foreign_keys(self, database, table, column, values):
|
||||
"Returns dict mapping (column, value) -> label"
|
||||
labeled_fks = {}
|
||||
|
|
Ładowanie…
Reference in New Issue