home / github

Menu
  • Search all tables
  • GraphQL API

issue_comments

Table actions
  • GraphQL API for issue_comments

3 rows where author_association = "OWNER" and issue = 903902495 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

  • Improve `path_with_replaced_args()` and friends and document them · 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
849724915 https://github.com/simonw/datasette/issues/1342#issuecomment-849724915 https://api.github.com/repos/simonw/datasette/issues/1342 MDEyOklzc3VlQ29tbWVudDg0OTcyNDkxNQ== simonw 9599 2021-05-27T15:23:01Z 2021-05-27T15:23:01Z OWNER

Since they are already exposed (but undocumented) this isn't actually a blocker on #1337 like I thought it was. Should still clean this up in the future though.

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
Improve `path_with_replaced_args()` and friends and document them 903902495  
849724108 https://github.com/simonw/datasette/issues/1342#issuecomment-849724108 https://api.github.com/repos/simonw/datasette/issues/1342 MDEyOklzc3VlQ29tbWVudDg0OTcyNDEwOA== simonw 9599 2021-05-27T15:21:54Z 2021-05-27T15:21:54Z OWNER

Turns out some of these are already being exposed to the template context on an ad-hoc basis.

In QueryView: https://github.com/simonw/datasette/blob/2bd9d54b2762c991e11950c22c88c0336158d49b/datasette/views/database.py#L295-L304

In TableView: https://github.com/simonw/datasette/blob/f1c29fd6a184254aa68efadf096bcf21e848f921/datasette/views/table.py#L897-L900

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
Improve `path_with_replaced_args()` and friends and document them 903902495  
849722218 https://github.com/simonw/datasette/issues/1342#issuecomment-849722218 https://api.github.com/repos/simonw/datasette/issues/1342 MDEyOklzc3VlQ29tbWVudDg0OTcyMjIxOA== simonw 9599 2021-05-27T15:19:23Z 2021-05-27T15:19:23Z OWNER

Current implementations: https://github.com/simonw/datasette/blob/51d788114035458d8f860d9ea6d74078e6c0ea0d/datasette/utils/init.py#L214-L272

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
Improve `path_with_replaced_args()` and friends and document them 903902495  

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