{"html_url": "https://github.com/simonw/datasette/issues/605#issuecomment-548058715", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/605", "id": 548058715, "node_id": "MDEyOklzc3VlQ29tbWVudDU0ODA1ODcxNQ==", "user": {"value": 12617395, "label": "bsilverm"}, "created_at": "2019-10-30T18:44:41Z", "updated_at": "2019-10-30T18:55:37Z", "author_association": "NONE", "body": "Sure. I imagine it being pretty straight forward. Today when you click on the database, the UI displays:\r\n\r\n-Table 1-\r\n -fields-\r\n -row count-\r\n-Table 2-\r\n -fields-\r\n -row count-\r\nQueries:\r\n -query1-\r\n -query2-\r\n ..\r\n ...\r\n\r\nMy proposal would be to display as follows:\r\n\r\n-Table 1-\r\n -fields-\r\n -row count-\r\n Queries:\r\n -query1-\r\n -query2-\r\n ..\r\n ...\r\n-Table 2-\r\n -fields-\r\n -row count-\r\n Queries:\r\n -query1-\r\n -query2-\r\n ..\r\n ...\r\n\r\nThis way, if a given table is not present in the database, the associated queries are also not present. Today, I have a list of queries, some work, some result in errors depending on whether the dependent tables exist in the database.\r\n\r\nLet me know if that makes sense. Thanks again!", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 510076368, "label": "Support queries at the table level"}, "performed_via_github_app": null}