{"html_url": "https://github.com/simonw/datasette/issues/698#issuecomment-638266171", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/698", "id": 638266171, "node_id": "MDEyOklzc3VlQ29tbWVudDYzODI2NjE3MQ==", "user": {"value": 9599, "label": "simonw"}, "created_at": "2020-06-03T15:18:49Z", "updated_at": "2020-06-03T15:18:49Z", "author_association": "OWNER", "body": "Landed the work so far from #796! Here's the documentation: https://datasette.readthedocs.io/en/latest/sql_queries.html#writable-canned-queries", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 582517965, "label": "Ability for a canned query to write to the database"}, "performed_via_github_app": null} {"html_url": "https://github.com/simonw/datasette/issues/698#issuecomment-638183337", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/698", "id": 638183337, "node_id": "MDEyOklzc3VlQ29tbWVudDYzODE4MzMzNw==", "user": {"value": 9599, "label": "simonw"}, "created_at": "2020-06-03T13:05:03Z", "updated_at": "2020-06-03T13:05:03Z", "author_association": "OWNER", "body": "One challenge with this feature is that it confuses the messaging about what Datasette does somewhat.\r\n\r\nPrior to shipping this, Datasette's core value proposition is as a way to publish read-only data.\r\n\r\nThat changed a little [in 0.37 in February](https://datasette.readthedocs.io/en/stable/changelog.html#v0-37) when plugins gained the supported ability to execute writes, but there was no way of doing that without a plugin.\r\n\r\nWith this feature, Datasette becomes a read-write database solution.\r\n\r\nI should update the documentation to help explain this. Essentially the message is that Datasette can be used in one of two \"modes\" - it can be used just for sharing/publishing data, or you can use it to collect and manage data, most likely still in collaboration with plugins for things like authentication.", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 582517965, "label": "Ability for a canned query to write to the database"}, "performed_via_github_app": null} {"html_url": "https://github.com/simonw/datasette/issues/698#issuecomment-637934813", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/698", "id": 637934813, "node_id": "MDEyOklzc3VlQ29tbWVudDYzNzkzNDgxMw==", "user": {"value": 9599, "label": "simonw"}, "created_at": "2020-06-03T03:45:07Z", "updated_at": "2020-06-03T03:45:07Z", "author_association": "OWNER", "body": "Some extra thoughts now that this is mostly working:\r\n\r\n- \"Edit this row\" is such an obvious use-case. Could I automatically support row editing where every column except the primary key can be updated?\r\n- It would be useful to be able to link to a query in a way that pre-populates various form fields. The \"edit\" interface could then be a link that pre-populates the form with all of the existing values.\r\n- Can the redirect URL be configured to include values from the form submission? So you could e.g. add a blog post with a unique slug and then redirect to that URL?", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 582517965, "label": "Ability for a canned query to write to the database"}, "performed_via_github_app": null} {"html_url": "https://github.com/simonw/datasette/issues/698#issuecomment-637879242", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/698", "id": 637879242, "node_id": "MDEyOklzc3VlQ29tbWVudDYzNzg3OTI0Mg==", "user": {"value": 9599, "label": "simonw"}, "created_at": "2020-06-03T00:10:30Z", "updated_at": "2020-06-03T00:10:30Z", "author_association": "OWNER", "body": "Started a fresh pull request for this in #796 - the one in #703 got a bit untidy.", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 582517965, "label": "Ability for a canned query to write to the database"}, "performed_via_github_app": null}