home / github / issue_comments

Menu
  • Search all tables
  • GraphQL API

issue_comments: 782709270

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/782#issuecomment-782709270 https://api.github.com/repos/simonw/datasette/issues/782 782709270 MDEyOklzc3VlQ29tbWVudDc4MjcwOTI3MA== 9599 2021-02-20T16:23:51Z 2021-02-20T16:24:11Z OWNER

Also how would you opt out of returning the "rows" key? I sometimes want to do this - if I want to get back just the count or just the facets for example.

Some options:

  • /fixtures/roadside_attractions.json?_extra=total&_extra=-rows
  • /fixtures/roadside_attractions.json?_extra=total&_skip=rows
  • /fixtures/roadside_attractions.json?_extra=total&_size=0

I quite like that last one with ?_size=0. I think it would still return "rows": [] but that's OK.

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