home / github / issue_comments

Menu
  • Search all tables
  • GraphQL API

issue_comments: 752265600

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/datasette/issues/1160#issuecomment-752265600 https://api.github.com/repos/simonw/datasette/issues/1160 752265600 MDEyOklzc3VlQ29tbWVudDc1MjI2NTYwMA== 9599 2020-12-29T22:39:56Z 2020-12-29T22:39:56Z OWNER

Does it definitely make sense to break this operation up into the code that turns the incoming format into a iterator of dictionaries, then the code that inserts those into the database using sqlite-utils?

That seems right for simple imports, where the incoming file represents a sequence of records in a single table. But what about more complex formats? What if a format needs to be represented as multiple tables?

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