home / github

Menu
  • GraphQL API

issue_comments

Table actions
  • GraphQL API for issue_comments

2 rows where issue = 539204432

✎ 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
569130037 https://github.com/simonw/sqlite-utils/issues/70#issuecomment-569130037 https://api.github.com/repos/simonw/sqlite-utils/issues/70 MDEyOklzc3VlQ29tbWVudDU2OTEzMDAzNw== simonw 9599 2019-12-26T20:39:04Z 2019-12-26T20:39:04Z OWNER I hadn't thought about those at all. Are you suggesting a utility mechanism in the library for setting it up so that, for a specific foreign key, rows are deleted from other tables if the row they are pointing at is deleted? {"total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0} Implement ON DELETE and ON UPDATE actions for foreign keys 539204432  
575799104 https://github.com/simonw/sqlite-utils/issues/70#issuecomment-575799104 https://api.github.com/repos/simonw/sqlite-utils/issues/70 MDEyOklzc3VlQ29tbWVudDU3NTc5OTEwNA== LucasElArruda 26292069 2020-01-17T21:20:17Z 2020-01-17T21:20:17Z NONE Omg sorry I took so long to reply! On SQL we can say how the foreign key behaves when it is deleted or updated on the parent table (see https://www.sqlitetutorial.net/sqlite-foreign-key/ for more details). I did not see clearly how to create tables with this feature on sqlite-utils library. {"total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0} Implement ON DELETE and ON UPDATE actions for foreign keys 539204432  

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