home / github

Menu
  • GraphQL API

issue_comments

Table actions
  • GraphQL API for issue_comments

2 rows where issue = 565837965

✎ View and edit SQL

This data as json, CSV (advanced)

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

id ▼ html_url issue_url node_id user created_at updated_at author_association body reactions issue performed_via_github_app
586661250 https://github.com/simonw/sqlite-utils/issues/87#issuecomment-586661250 https://api.github.com/repos/simonw/sqlite-utils/issues/87 MDEyOklzc3VlQ29tbWVudDU4NjY2MTI1MA== simonw 9599 2020-02-16T02:19:33Z 2020-02-16T02:19:33Z OWNER Here's the code: https://github.com/simonw/sqlite-utils/blob/5e0000609f9be6efafea1b96f610988eb18d6d89/sqlite_utils/utils.py#L18-L24 {"total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0} Should detect collections.OrderedDict as a regular dictionary 565837965  
586661276 https://github.com/simonw/sqlite-utils/issues/87#issuecomment-586661276 https://api.github.com/repos/simonw/sqlite-utils/issues/87 MDEyOklzc3VlQ29tbWVudDU4NjY2MTI3Ng== simonw 9599 2020-02-16T02:20:14Z 2020-02-16T02:20:14Z OWNER `OrderedDict` is actually a subclass of `dict` - so a smart fix would be for this logic to check and see if the type `t` is a subclass of one of `list`, `tuple` or `dict`. {"total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0} Should detect collections.OrderedDict as a regular dictionary 565837965  

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 16.919ms · About: simonw/datasette-graphql