{"html_url": "https://github.com/simonw/datasette/issues/254#issuecomment-626340387", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/254", "id": 626340387, "node_id": "MDEyOklzc3VlQ29tbWVudDYyNjM0MDM4Nw==", "user": {"value": 247131, "label": "philroche"}, "created_at": "2020-05-10T14:54:13Z", "updated_at": "2020-05-10T14:54:13Z", "author_association": "NONE", "body": "This has now been resolved and is not present in current version of datasette. \r\n\r\nSample query @simonw mentioned now returns as expected. \r\n\r\nhttps://aggreg8streams.tinyviking.ie/simplestreams?sql=select+*+from+cloudimage+where+%22content_id%22+%3D+%22com.ubuntu.cloud%3Areleased%3Adownload%22+order+by+id+limit+10", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 322283067, "label": "Escaping named parameters in canned queries"}, "performed_via_github_app": null} {"html_url": "https://github.com/simonw/datasette/issues/254#issuecomment-388360255", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/254", "id": 388360255, "node_id": "MDEyOklzc3VlQ29tbWVudDM4ODM2MDI1NQ==", "user": {"value": 9599, "label": "simonw"}, "created_at": "2018-05-11T13:16:09Z", "updated_at": "2018-05-11T22:45:31Z", "author_association": "OWNER", "body": "Do you have an example I can look at?\r\n\r\nI think I have a possible route for fixing this, but it's pretty tricky (it involves adding a full SQL statement parser, but that's needed for some other potential improvements as well).\r\n\r\nIn the meantime, is this causing actual errors for you or is it more of an inconvenience (form fields being displayed that don't actually do anything)?\r\n\r\nAnother potential solution here could be to allow canned queries to optionally declare their parameters in metadata.json", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 322283067, "label": "Escaping named parameters in canned queries"}, "performed_via_github_app": null} {"html_url": "https://github.com/simonw/datasette/issues/254#issuecomment-388497467", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/254", "id": 388497467, "node_id": "MDEyOklzc3VlQ29tbWVudDM4ODQ5NzQ2Nw==", "user": {"value": 9599, "label": "simonw"}, "created_at": "2018-05-11T22:06:00Z", "updated_at": "2018-05-11T22:06:34Z", "author_association": "OWNER", "body": "Got it, this seems to trigger the problem: https://datasette-zkcvlwdrhl.now.sh/simplestreams-270f20c?sql=select+*+from+cloudimage+where+%22content_id%22+%3D+%22com.ubuntu.cloud%3Areleased%3Adownload%22+order+by+id+limit+10", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 322283067, "label": "Escaping named parameters in canned queries"}, "performed_via_github_app": null} {"html_url": "https://github.com/simonw/datasette/issues/254#issuecomment-388367027", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/254", "id": 388367027, "node_id": "MDEyOklzc3VlQ29tbWVudDM4ODM2NzAyNw==", "user": {"value": 247131, "label": "philroche"}, "created_at": "2018-05-11T13:41:46Z", "updated_at": "2018-05-11T13:41:46Z", "author_association": "NONE", "body": "An example deployment @ https://datasette-zkcvlwdrhl.now.sh/simplestreams-270f20c/cloudimage?content_id__exact=com.ubuntu.cloud%3Areleased%3Adownload\r\n\r\nIt is not causing errors, more of an inconvenience. I have worked around it using a `like` query instead. ", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 322283067, "label": "Escaping named parameters in canned queries"}, "performed_via_github_app": null}