home / github / issue_comments

Menu
  • Search all tables
  • GraphQL API

issue_comments: 696435194

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/114#issuecomment-696435194 https://api.github.com/repos/simonw/sqlite-utils/issues/114 696435194 MDEyOklzc3VlQ29tbWVudDY5NjQzNTE5NA== 9599 2020-09-21T23:34:14Z 2020-09-21T23:35:00Z OWNER

I think the fiddliest part of the implementation here is code that takes the existing columns_dict of the table and the incoming columns= and drop= and rename= parameters and produces the columns dictionary for the new table, ready to be fed to .create_table().

This logic probably also needs to return a structure that can be used to build the INSERT INTO ... SELECT ... FROM query.

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