home / github / issue_comments

Menu
  • Search all tables
  • GraphQL API

issue_comments: 1539015064

This data as json

html_url issue_url id node_id user created_at updated_at author_association body reactions issue performed_via_github_app
https://github.com/simonw/sqlite-utils/issues/530#issuecomment-1539015064 https://api.github.com/repos/simonw/sqlite-utils/issues/530 1539015064 IC_kwDOCGYnMM5bu4GY 9599 2023-05-08T20:35:07Z 2023-05-08T20:35:07Z OWNER

Wow, this is a neat feature I didn't know about. Looks like there are a bunch of options:

  • NO ACTION (default)
  • RESTRICT: application is prohibited from deleting a parent key when there exists one or more child keys mapped to it
  • SET NULL: when a parent key is deleted the child key columns of all rows in the child table that mapped to the parent key are set to contain SQL NULL values
  • SET DEFAULT: set a specific default
  • CASCADE: propagates the delete or update operation on the parent key to each dependent child key
{
    "total_count": 1,
    "+1": 1,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
1595340692  
Powered by Datasette · Queries took 0.761ms · About: github-to-sqlite