home / github / issue_comments

Menu
  • Search all tables
  • GraphQL API

issue_comments: 1683074009

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/577#issuecomment-1683074009 https://api.github.com/repos/simonw/sqlite-utils/issues/577 1683074009 IC_kwDOCGYnMM5kUavZ 9599 2023-08-17T22:45:29Z 2023-08-17T22:47:08Z OWNER

Actually I think table.transform() might get the following optional arguments: python def transform( self, *, # ... # This one exists already: drop_foreign_keys: Optional[Iterable] = None, # These two are new. This one specifies keys to add: add_foreign_keys: Optional[ForeignKeysType] = None, # Or this one causes them all to be replaced with the new definitions: foreign_keys: Optional[ForeignKeysType] = None, There should be validation that forbids you from using foreign_keys= at the same time as either drop_foreign_keys= or add_foreign_keys= because the point of foreign_keys= is to define the keys for the new table all in one go.

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
1817289521  
Powered by Datasette · Queries took 1.039ms · About: github-to-sqlite