home / github

Menu
  • Search all tables
  • GraphQL API

issue_comments

Table actions
  • GraphQL API for issue_comments

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

  • Implement and document extras for the new query view page · 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
1671862711 https://github.com/simonw/datasette/issues/2113#issuecomment-1671862711 https://api.github.com/repos/simonw/datasette/issues/2113 IC_kwDOBm6k_c5jppm3 simonw 9599 2023-08-09T17:35:22Z 2023-08-09T17:35:22Z OWNER

Need ?_extra=columns too since I'm removing "columns" from the default query JSON in https://github.com/simonw/datasette/issues/2136

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
Implement and document extras for the new query view page 1822939274  
1671725144 https://github.com/simonw/datasette/issues/2113#issuecomment-1671725144 https://api.github.com/repos/simonw/datasette/issues/2113 IC_kwDOBm6k_c5jpIBY simonw 9599 2023-08-09T16:07:58Z 2023-08-09T16:07:58Z OWNER

Punting this out of the 1.0a3 alpha for the moment.

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
Implement and document extras for the new query view page 1822939274  
1668983779 https://github.com/simonw/datasette/issues/2113#issuecomment-1668983779 https://api.github.com/repos/simonw/datasette/issues/2113 IC_kwDOBm6k_c5jeqvj simonw 9599 2023-08-08T06:27:42Z 2023-08-08T06:27:42Z OWNER

I've now shipped the new query JSON without any extras: https://latest.datasette.io/fixtures.json?sql=select+*+from+facetable

There aren't actually that many extras that make sense for the query page. These are the most obvious:

  • query - adding a {"sql": "...", "params": ".."} block, as seen on https://latest.datasette.io/fixtures/facetable.json?_extra=query&_size=0
  • duration_ms to show the duration - which isn't an extra on table right now but should be.
  • metadata - https://latest.datasette.io/fixtures/facetable.json?_extra=metadata&_size=0
{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
Implement and document extras for the new query view page 1822939274  

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