{"html_url": "https://github.com/dogsheep/github-to-sqlite/issues/4#issuecomment-550388354", "issue_url": "https://api.github.com/repos/dogsheep/github-to-sqlite/issues/4", "id": 550388354, "node_id": "MDEyOklzc3VlQ29tbWVudDU1MDM4ODM1NA==", "user": {"value": 9599, "label": "simonw"}, "created_at": "2019-11-06T16:26:55Z", "updated_at": "2019-11-06T16:26:55Z", "author_association": "MEMBER", "body": "Here's a query I figured out using a window function that shows cumulative stargazers over time:\r\n```sql\r\nselect\r\n yyyymmdd,\r\n sum(n) over (\r\n order by\r\n yyyymmdd rows unbounded preceding\r\n ) as cumulative_count\r\nfrom\r\n (\r\n select\r\n substr(starred_at, 0, 11) as yyyymmdd,\r\n count(*) as n\r\n from\r\n stars\r\n group by\r\n yyyymmdd\r\n )\r\n```", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 493670730, "label": "Command to fetch stargazers for one or more repos"}, "performed_via_github_app": null} {"html_url": "https://github.com/simonw/datasette/issues/615#issuecomment-550146151", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/615", "id": 550146151, "node_id": "MDEyOklzc3VlQ29tbWVudDU1MDE0NjE1MQ==", "user": {"value": 9599, "label": "simonw"}, "created_at": "2019-11-06T05:06:27Z", "updated_at": "2019-11-06T05:06:27Z", "author_association": "OWNER", "body": "I'm going to always include the primary key (or rowid) - otherwise the table view will sometimes not include links to the row pages, which seems bad.", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 517451234, "label": "?_col= and ?_nocol= support for toggling columns on table view"}, "performed_via_github_app": null}