diff --git a/datasette/app.py b/datasette/app.py index e57b52d4..d092e1ad 100644 --- a/datasette/app.py +++ b/datasette/app.py @@ -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 = {}