issue_comments: 864417031
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/285#issuecomment-864417031 | https://api.github.com/repos/simonw/sqlite-utils/issues/285 | 864417031 | MDEyOklzc3VlQ29tbWVudDg2NDQxNzAzMQ== | 9599 | 2021-06-19T14:56:45Z | 2021-06-19T14:56:45Z | OWNER | ```pycon >>> db = sqlite_utils.Database(memory=True) >>> db["rowid_table"].insert({"name": "Cleo"}) <Table rowid_table (name)> >>> db["regular_table"].insert({"id": 1, "name": "Cleo"}, pk="id") <Table regular_table (id, name)> >>> db["rowid_table"].pks ['rowid'] >>> db["regular_table"].pks ['id'] ``` But that's because the `.pks` property hides the difference: https://github.com/simonw/sqlite-utils/blob/dc94f4bb8cfe922bb2f9c89f8f0f29092ea63133/sqlite_utils/db.py#L805-L810 | {"total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0} | 925410305 |