home / github / issue_comments

Menu
  • Search all tables
  • GraphQL API

issue_comments: 504807727

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/523#issuecomment-504807727 https://api.github.com/repos/simonw/datasette/issues/523 504807727 MDEyOklzc3VlQ29tbWVudDUwNDgwNzcyNw== 9599 2019-06-24T01:24:07Z 2019-06-24T01:24:07Z OWNER

For databases opened in immutable mode we pre-calculate the total row count for every table precisely so we can offer this kind of functionality without too much of a performance hit. The total row count is already available to the template (you can hit the .json endpoint to see it), so implementing this should be possible just by updating the template.

For mutable databases we have a mechanism for attempting the count and giving up after a specified time limit - we can use that to get "3 of many".

It looks like this is actually a dupe of #127 and #134.

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