home / github / issue_comments

Menu
  • GraphQL API

issue_comments: 466820167

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/17#issuecomment-466820167 https://api.github.com/repos/simonw/sqlite-utils/issues/17 466820167 MDEyOklzc3VlQ29tbWVudDQ2NjgyMDE2Nw== 9599 2019-02-24T21:42:33Z 2019-02-24T21:42:33Z OWNER It looks like the type information isn't actually used for anything at all, so this: https://github.com/simonw/sqlite-utils/blob/f8d3b7cfe5c1950b0749d40eb2640df50b52f651/tests/test_create.py#L97-L103 Could actually be written like this: ``` fresh_db["m2m"].insert( {"one_id": 1, "two_id": 1}, foreign_keys=( ("one_id", "one", "id"), ("two_id", "two", "id"), ), ) ``` {"total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0} 413868452  
Powered by Datasette · Queries took 9.103ms