home / github

Menu
  • GraphQL API

issue_comments

Table actions
  • GraphQL API for issue_comments

2 rows where issue = 782708469 and "updated_at" is on date 2021-01-12

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: created_at (date), updated_at (date)

id ▼ html_url issue_url node_id user created_at updated_at author_association body reactions issue performed_via_github_app
758356097 https://github.com/simonw/datasette/issues/1183#issuecomment-758356097 https://api.github.com/repos/simonw/datasette/issues/1183 MDEyOklzc3VlQ29tbWVudDc1ODM1NjA5Nw== simonw 9599 2021-01-12T02:40:30Z 2021-01-12T02:40:30Z OWNER So how would this work? I think I'm going to automatically use these values if the `_counts` table exists, unless a `ignore_counts_table` boolean setting has been set. I won't bother looking to see if the triggers have been created. {"total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0} Take advantage of sqlite-utils cached table counts, if available 782708469  
758356640 https://github.com/simonw/datasette/issues/1183#issuecomment-758356640 https://api.github.com/repos/simonw/datasette/issues/1183 MDEyOklzc3VlQ29tbWVudDc1ODM1NjY0MA== simonw 9599 2021-01-12T02:42:08Z 2021-01-12T02:42:08Z OWNER Should Datasette have subcommands for this? `datasette enable-counts data.db` and `datasette disable-counts data.db` and `datasette reset-counts data.db` commands? Maybe. The `sqlite-utils` CLI tool could be used here instead, but that won't be easily available if Datasette was installed as a standalone binary or using `brew install datasette` or `pipx install datasette`. {"total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0} Take advantage of sqlite-utils cached table counts, if available 782708469  

Advanced export

JSON shape: default, array, newline-delimited, object

CSV options:

CREATE TABLE [issue_comments] (
   [html_url] TEXT,
   [issue_url] TEXT,
   [id] INTEGER PRIMARY KEY,
   [node_id] TEXT,
   [user] INTEGER REFERENCES [users]([id]),
   [created_at] TEXT,
   [updated_at] TEXT,
   [author_association] TEXT,
   [body] TEXT,
   [reactions] TEXT,
   [issue] INTEGER REFERENCES [issues]([id])
, [performed_via_github_app] TEXT);
CREATE INDEX [idx_issue_comments_issue]
                ON [issue_comments] ([issue]);
CREATE INDEX [idx_issue_comments_user]
                ON [issue_comments] ([user]);
Powered by Datasette · Queries took 34.884ms · About: simonw/datasette-graphql