home / github / issue_comments

Menu
  • Search all tables
  • GraphQL API

issue_comments: 968434425

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/339#issuecomment-968434425 https://api.github.com/repos/simonw/sqlite-utils/issues/339 968434425 IC_kwDOCGYnMM45uSL5 9599 2021-11-15T01:42:36Z 2021-11-15T01:42:36Z OWNER

Here's the current signature of table.lookup(): https://github.com/simonw/sqlite-utils/blob/9cda5b070f885a7995f0c307bcc4f45f0812994a/sqlite_utils/db.py#L2716-L2729

I'm going to add a second positional argument which can provide a dictionary of column->value to use when creating the original table and populating the initial row. If the row already exists, those columns will be ignored entirely.

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