home / github / issue_comments

Menu
  • Search all tables
  • GraphQL API

issue_comments: 552251831

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/620#issuecomment-552251831 https://api.github.com/repos/simonw/datasette/issues/620 552251831 MDEyOklzc3VlQ29tbWVudDU1MjI1MTgzMQ== 9599 2019-11-11T00:25:58Z 2019-11-11T00:25:58Z OWNER

There are three pieces of information that need to be described here: the column, the other table and the other table column.

We already have a piece of API design that is similar to this: the _through= parameter, which looks like this:

?_through={"table":"m2m_characteristics","column":"characteristic_id","value":"1"}

I'm rethinking this syntax in #621 though to support a non-JSON variant that looks more like this:

?_through.roadside_attraction_characteristics.characteristic_id=1

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