home / github

Menu
  • Search all tables
  • GraphQL API

issue_comments

Table actions
  • GraphQL API for issue_comments

3 rows where issue = 312313496 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

  • Run pks_for_table in inspect, executing once at build time rather than constantly · 3 ✖

author_association 1

  • OWNER 3
id html_url issue_url node_id user created_at updated_at ▲ author_association body reactions issue performed_via_github_app
379588602 https://github.com/simonw/datasette/issues/195#issuecomment-379588602 https://api.github.com/repos/simonw/datasette/issues/195 MDEyOklzc3VlQ29tbWVudDM3OTU4ODYwMg== simonw 9599 2018-04-08T22:40:16Z 2018-04-08T22:40:16Z OWNER

Could also identify all views for that database, which would save on these queries:

https://github.com/simonw/datasette/blob/b2188f044265c95f7e54860e28107c17d2a6ed2e/datasette/app.py#L543-L545

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
Run pks_for_table in inspect, executing once at build time rather than constantly 312313496  
379559074 https://github.com/simonw/datasette/issues/195#issuecomment-379559074 https://api.github.com/repos/simonw/datasette/issues/195 MDEyOklzc3VlQ29tbWVudDM3OTU1OTA3NA== simonw 9599 2018-04-08T15:31:49Z 2018-04-08T15:31:49Z OWNER

While I'm at it, doing the same thing for fts_table detection is worth considering:

https://github.com/simonw/datasette/blob/446d47fdb005b3776bc06ad8d1f44b01fc2e938b/datasette/app.py#L598-L603

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
Run pks_for_table in inspect, executing once at build time rather than constantly 312313496  
379557743 https://github.com/simonw/datasette/issues/195#issuecomment-379557743 https://api.github.com/repos/simonw/datasette/issues/195 MDEyOklzc3VlQ29tbWVudDM3OTU1Nzc0Mw== simonw 9599 2018-04-08T15:13:18Z 2018-04-08T15:13:18Z OWNER

https://github.com/simonw/datasette/blob/446d47fdb005b3776bc06ad8d1f44b01fc2e938b/datasette/app.py#L93-L102

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
Run pks_for_table in inspect, executing once at build time rather than constantly 312313496  

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