home / github / issue_comments

Menu
  • Search all tables
  • GraphQL API

issue_comments: 1256650449

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/issues/1817#issuecomment-1256650449 https://api.github.com/repos/simonw/datasette/issues/1817 1256650449 IC_kwDOBm6k_c5K5vbR 9599 2022-09-23T20:38:53Z 2022-09-23T20:38:53Z OWNER

I've wanted something like this in the past too. I think the thing to do here might be to add sql and params arguments to a bunch of the plugin hooks, such that they can see the main query that is being used on the page that they are helping to render.

While I'm working on this: https://docs.datasette.io/en/0.62/plugin_hooks.html#register-output-renderer-datasette output renderer functions take sql but do not currently take params - they should also take params.

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
1384273985  
Powered by Datasette · Queries took 0.887ms · About: github-to-sqlite