home / github / issue_comments

Menu
  • GraphQL API

issue_comments: 1563663616

This data as json

html_url issue_url id node_id user created_at updated_at author_association body reactions issue performed_via_github_app
https://github.com/simonw/datasette/pull/2053#issuecomment-1563663616 https://api.github.com/repos/simonw/datasette/issues/2053 1563663616 IC_kwDOBm6k_c5dM50A 9599 2023-05-26T00:32:08Z 2023-05-26T00:32:08Z OWNER Now that I have the new `View` subclass from #2078 I want to use it to simplify this code. Challenge: there are several things to consider here: - The `/db` page without `?sql=` displays a list of tables in that database - With `?sql=` it shows the query results for that query (or an error) - If it's a `/db/name-of-canned-query` it works a bit like the query page, but executes a canned query instead of the `?sql=` query - POST `/db/name-of-canned-query` is support for writable canned queries {"total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0} 1656432059  
Powered by Datasette · Queries took 1.197ms