home / github

Menu
  • GraphQL API

issue_comments

Table actions
  • GraphQL API for issue_comments

4 rows where issue = 1470509936

✎ 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
1333023273 https://github.com/simonw/datasette/issues/1924#issuecomment-1333023273 https://api.github.com/repos/simonw/datasette/issues/1924 IC_kwDOBm6k_c5PdFIp simonw 9599 2022-12-01T01:34:48Z 2022-12-01T01:34:48Z OWNER This will enable some very cool Datasette write API demos - for example, Git scrapers that insert-replace the most recent copy of the scraped data to a table somewhere (which can then produce an atom feed with https://datasette.io/plugins/datasette-atom) {"total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0} Docs for replace:true and ignore:true options for insert API 1470509936  
1333025076 https://github.com/simonw/datasette/issues/1924#issuecomment-1333025076 https://api.github.com/repos/simonw/datasette/issues/1924 IC_kwDOBm6k_c5PdFk0 simonw 9599 2022-12-01T01:37:09Z 2022-12-01T01:37:09Z OWNER Related question: what happens if you attempt to insert rows without either of these settings and 1:10 of them is an integrity error due to an existing primary key? Does the entire batch fail to be inserted? Should it? This may be the point that I need to think hard about how to use transactions here. {"total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0} Docs for replace:true and ignore:true options for insert API 1470509936  
1333042785 https://github.com/simonw/datasette/issues/1924#issuecomment-1333042785 https://api.github.com/repos/simonw/datasette/issues/1924 IC_kwDOBm6k_c5PdJ5h simonw 9599 2022-12-01T02:00:06Z 2022-12-01T02:00:06Z OWNER Looks like I did implement these already: https://github.com/simonw/datasette/blob/9a1536b52a07e32da5900652da1bd7894c58fa9f/tests/test_api_write.py#L270-L273 But forgot to document them! {"total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0} Docs for replace:true and ignore:true options for insert API 1470509936  
1334165225 https://github.com/simonw/datasette/issues/1924#issuecomment-1334165225 https://api.github.com/repos/simonw/datasette/issues/1924 IC_kwDOBm6k_c5Phb7p simonw 9599 2022-12-01T18:15:15Z 2022-12-01T18:15:15Z OWNER Updated docs at the bottom of this section: https://docs.datasette.io/en/latest/json_api.html#inserting-rows {"total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0} Docs for replace:true and ignore:true options for insert API 1470509936  

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