issue_comments: 987458772
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/349#issuecomment-987458772 | https://api.github.com/repos/simonw/sqlite-utils/issues/349 | 987458772 | IC_kwDOCGYnMM4622zU | 9599 | 2021-12-07T01:00:41Z | 2021-12-07T01:00:41Z | OWNER | I think the syntax design of this looks like: ```python item_pk = db[item_table].lookup( {"_item_id": item_id}, item_to_insert, column_order=("_id", "_item_id"), pk="_id", indexes=("_version",), ) ``` So it's a sequence of column names... or a sequence of tuples for creating compound indexes: ```python db["dogs"].insert( {"name": "Cleo", "species": "Mutt", "hobbies": "Raiding picnics"}, indexes=(("name", "species"), "hobbies"), ) ``` | {"total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0} | 1071531082 |