home / github

Menu
  • GraphQL API

issue_comments

Table actions
  • GraphQL API for issue_comments

3 rows where issue = 1174162781

✎ 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
1072933875 https://github.com/simonw/datasette/issues/1666#issuecomment-1072933875 https://api.github.com/repos/simonw/datasette/issues/1666 IC_kwDOBm6k_c4_86vz simonw 9599 2022-03-19T04:03:42Z 2022-03-19T04:03:42Z OWNER Tests so far: https://github.com/simonw/datasette/blob/711767bcd3c1e76a0861fe7f24069ff1c8efc97a/tests/test_routes.py#L12-L34 {"total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0} Refactor URL routing to enable testing 1174162781  
1073039241 https://github.com/simonw/datasette/issues/1666#issuecomment-1073039241 https://api.github.com/repos/simonw/datasette/issues/1666 IC_kwDOBm6k_c4_9UeJ simonw 9599 2022-03-19T16:28:15Z 2022-03-19T16:28:15Z OWNER This is more interesting if it also asserts against the captured matches from the pattern. {"total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0} Refactor URL routing to enable testing 1174162781  
1073039670 https://github.com/simonw/datasette/issues/1666#issuecomment-1073039670 https://api.github.com/repos/simonw/datasette/issues/1666 IC_kwDOBm6k_c4_9Uk2 simonw 9599 2022-03-19T16:31:08Z 2022-03-19T16:31:57Z OWNER This does make it more interesting - it also highlights how inconsistent the way the capturing works is. Especially `as_format` which can be `None` or `""` or `.json` or `json` or not used at all in the case of `TableView`. https://github.com/simonw/datasette/blob/764738dfcb16cd98b0987d443f59d5baa9d3c332/tests/test_routes.py#L12-L36 {"total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0} Refactor URL routing to enable testing 1174162781  

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