{"sha": "7a4da7e5aedff3f61648d5530c4dc34de011ea8a", "message": "Documentation for custom SQL queries\n\nhttp://datasette.readthedocs.io/en/latest/sql_queries.html\n\nCloses #20", "author_date": "2017-12-05T17:43:59Z", "committer_date": "2017-12-05T17:43:59Z", "raw_author": {"value": "13ae486343ea6454a93114c6f558ffea2f2c6874", "label": "Simon Willison"}, "raw_committer": {"value": "13ae486343ea6454a93114c6f558ffea2f2c6874", "label": "Simon Willison"}, "repo": {"value": 107914493, "label": "datasette"}, "author": {"value": 9599, "label": "simonw"}, "committer": {"value": 9599, "label": "simonw"}} {"sha": "a743cdeafca0e5d011c282a53baf753c85d01516", "message": "Canned query support + database/query template refactor\n\nNamed canned queries can now be defined in metadata.json like this:\n\n {\n \"databases\": {\n \"timezones\": {\n \"queries\": {\n \"timezone_for_point\": \"select tzid from timezones ...\"\n }\n }\n }\n }\n\nThese will be shown in a new \"Queries\" section beneath \"Views\" on the database page.\n\nAs part of this, I refactored the logic for the database index page. It used\nto combine the functionality for listing available tables and the\nfunctionality for executing custom SQL queries in a single template and view.\nI have split that template out into database.html and query.html and reworked\nthe view to more clearly separate the custom SQL executing code.\n\nRefs #20", "author_date": "2017-12-05T16:17:02Z", "committer_date": "2017-12-05T16:17:02Z", "raw_author": {"value": "13ae486343ea6454a93114c6f558ffea2f2c6874", "label": "Simon Willison"}, "raw_committer": {"value": "13ae486343ea6454a93114c6f558ffea2f2c6874", "label": "Simon Willison"}, "repo": {"value": 107914493, "label": "datasette"}, "author": {"value": 9599, "label": "simonw"}, "committer": {"value": 9599, "label": "simonw"}} {"sha": "b7b590b4149563ec6572f577632d7471b84dcb94", "message": "Docs for query.html CSS/template, refs #20", "author_date": "2017-12-05T16:35:14Z", "committer_date": "2017-12-05T16:35:14Z", "raw_author": {"value": "13ae486343ea6454a93114c6f558ffea2f2c6874", "label": "Simon Willison"}, "raw_committer": {"value": "13ae486343ea6454a93114c6f558ffea2f2c6874", "label": "Simon Willison"}, "repo": {"value": 107914493, "label": "datasette"}, "author": {"value": 9599, "label": "simonw"}, "committer": {"value": 9599, "label": "simonw"}}