home / github

Menu
  • GraphQL API

issue_comments

Table actions
  • GraphQL API for issue_comments

2 rows where issue = 1620254998

✎ 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
1539006509 https://github.com/simonw/sqlite-utils/issues/532#issuecomment-1539006509 https://api.github.com/repos/simonw/sqlite-utils/issues/532 IC_kwDOCGYnMM5bu2At simonw 9599 2023-05-08T20:28:56Z 2023-05-08T20:28:56Z OWNER Was this a newline-delimited JSON file perhaps? {"total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0} Show more information when JSON can't be imported with sqlite-utils insert 1620254998  
1539009453 https://github.com/simonw/sqlite-utils/issues/532#issuecomment-1539009453 https://api.github.com/repos/simonw/sqlite-utils/issues/532 IC_kwDOCGYnMM5bu2ut simonw 9599 2023-05-08T20:30:29Z 2023-05-08T20:30:42Z OWNER Here's an improvement: ``` % sqlite-utils insert /tmp/b.db blah /tmp/blah.txt [####################################] 100% Error: Invalid JSON - use --csv for CSV or --tsv for TSV files JSON error: Expecting value: line 1 column 1 (char 0) ``` {"total_count": 1, "+1": 0, "-1": 0, "laugh": 0, "hooray": 1, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0} Show more information when JSON can't be imported with sqlite-utils insert 1620254998  

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