home / github

Menu
  • Search all tables
  • GraphQL API

issue_comments

Table actions
  • GraphQL API for issue_comments

3 rows where author_association = "MEMBER", issue = 603624862 and user = 9599 sorted by updated_at descending

✖
✖
✖
✖

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: created_at (date)

user 1

  • simonw · 3 ✖

issue 1

  • Issue and milestone should have foreign key to repo · 3 ✖

author_association 1

  • MEMBER · 3 ✖
id html_url issue_url node_id user created_at updated_at ▲ author_association body reactions issue performed_via_github_app
617491607 https://github.com/dogsheep/github-to-sqlite/issues/31#issuecomment-617491607 https://api.github.com/repos/dogsheep/github-to-sqlite/issues/31 MDEyOklzc3VlQ29tbWVudDYxNzQ5MTYwNw== simonw 9599 2020-04-22T01:20:19Z 2020-04-22T01:20:19Z MEMBER

https://github-to-sqlite.dogsheep.net/github/milestones now link to repo:

And so do issues: https://github-to-sqlite.dogsheep.net/github/issues

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
Issue and milestone should have foreign key to repo 603624862  
617348174 https://github.com/dogsheep/github-to-sqlite/issues/31#issuecomment-617348174 https://api.github.com/repos/dogsheep/github-to-sqlite/issues/31 MDEyOklzc3VlQ29tbWVudDYxNzM0ODE3NA== simonw 9599 2020-04-21T18:50:29Z 2020-04-21T18:50:29Z MEMBER

Since this represents a breaking schema change for anyone running SQL queries against these tables, I'm going to do a major version bump to 2.0 when I release this.

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
Issue and milestone should have foreign key to repo 603624862  
616884647 https://github.com/dogsheep/github-to-sqlite/issues/31#issuecomment-616884647 https://api.github.com/repos/dogsheep/github-to-sqlite/issues/31 MDEyOklzc3VlQ29tbWVudDYxNjg4NDY0Nw== simonw 9599 2020-04-21T00:49:16Z 2020-04-21T00:50:20Z MEMBER

The API just gives us the repository_url: https://api.github.com/repos/simonw/datasette/issues

We currently turn that into a simonw/datasette string here: https://github.com/dogsheep/github-to-sqlite/blob/e0e8d8caa9657b04bfb8a2cf16c9b580f38b1805/github_to_sqlite/utils.py#L43-L46

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
Issue and milestone should have foreign key to repo 603624862  

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 1609.803ms · About: github-to-sqlite
  • Sort ascending
  • Sort descending
  • Facet by this
  • Hide this column
  • Show all columns
  • Show not-blank rows