home / github

Menu
  • Search all tables
  • GraphQL API

issue_comments

Table actions
  • GraphQL API for issue_comments

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

✖
✖
✖
✖

✎ View and edit SQL

This data as json, CSV (advanced)

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

user 1

  • simonw · 3 ✖

issue 1

  • Issue comments don't appear to populate issues foreign key · 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
617490914 https://github.com/dogsheep/github-to-sqlite/issues/32#issuecomment-617490914 https://api.github.com/repos/dogsheep/github-to-sqlite/issues/32 MDEyOklzc3VlQ29tbWVudDYxNzQ5MDkxNA== simonw 9599 2020-04-22T01:17:44Z 2020-04-22T01:17:44Z MEMBER

https://github-to-sqlite.dogsheep.net/github?sql=select+html_url%2C+id%2C+issue+from+issue_comments+order+by+updated_at+desc+limit+101 now shows issues.

And https://github-to-sqlite.dogsheep.net/github/issue_comments links to them:

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
Issue comments don't appear to populate issues foreign key 604222295  
617369247 https://github.com/dogsheep/github-to-sqlite/issues/32#issuecomment-617369247 https://api.github.com/repos/dogsheep/github-to-sqlite/issues/32 MDEyOklzc3VlQ29tbWVudDYxNzM2OTI0Nw== simonw 9599 2020-04-21T19:33:03Z 2020-04-21T19:33:03Z MEMBER

Caused by #31.

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
Issue comments don't appear to populate issues foreign key 604222295  
617364956 https://github.com/dogsheep/github-to-sqlite/issues/32#issuecomment-617364956 https://api.github.com/repos/dogsheep/github-to-sqlite/issues/32 MDEyOklzc3VlQ29tbWVudDYxNzM2NDk1Ng== simonw 9599 2020-04-21T19:24:45Z 2020-04-21T19:24:45Z MEMBER

That's because I just broke this code:

https://github.com/dogsheep/github-to-sqlite/blob/2cf75a0a036719eb7e57fdc7c5c2ea0f4c26978a/github_to_sqlite/utils.py#L131-L139

It expects the repo column to be simonw/datasette but it's now an ID instead.

I should add a test for this as part of the fix.

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
Issue comments don't appear to populate issues foreign key 604222295  

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