{"html_url": "https://github.com/simonw/datasette/issues/20#issuecomment-349406761", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/20", "id": 349406761, "node_id": "MDEyOklzc3VlQ29tbWVudDM0OTQwNjc2MQ==", "user": {"value": 9599, "label": "simonw"}, "created_at": "2017-12-05T19:03:06Z", "updated_at": "2017-12-05T19:03:06Z", "author_association": "OWNER", "body": "Demo: https://timezones-api.now.sh/timezones-3cb9f64/by_point", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 267759136, "label": "Config file with support for defining canned queries"}, "performed_via_github_app": null} {"html_url": "https://github.com/simonw/datasette/issues/20#issuecomment-349383276", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/20", "id": 349383276, "node_id": "MDEyOklzc3VlQ29tbWVudDM0OTM4MzI3Ng==", "user": {"value": 9599, "label": "simonw"}, "created_at": "2017-12-05T17:45:20Z", "updated_at": "2017-12-05T17:45:20Z", "author_association": "OWNER", "body": "http://datasette.readthedocs.io/en/latest/sql_queries.html", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 267759136, "label": "Config file with support for defining canned queries"}, "performed_via_github_app": null} {"html_url": "https://github.com/simonw/datasette/issues/20#issuecomment-349359498", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/20", "id": 349359498, "node_id": "MDEyOklzc3VlQ29tbWVudDM0OTM1OTQ5OA==", "user": {"value": 9599, "label": "simonw"}, "created_at": "2017-12-05T16:30:06Z", "updated_at": "2017-12-05T16:30:06Z", "author_association": "OWNER", "body": "Named canned queries can now be defined in metadata.json like this:\r\n \r\n {\r\n \"databases\": {\r\n \"timezones\": {\r\n \"queries\": {\r\n \"timezone_for_point\": \"select tzid from timezones ...\"\r\n }\r\n }\r\n }\r\n }\r\n \r\nThese will be shown in a new \"Queries\" section beneath \"Views\" on the database page.\r\n\r\n\"timezones\"\r\n\r\n\r\n", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 267759136, "label": "Config file with support for defining canned queries"}, "performed_via_github_app": null}