{"html_url": "https://github.com/simonw/sqlite-utils/issues/21#issuecomment-495818615", "issue_url": "https://api.github.com/repos/simonw/sqlite-utils/issues/21", "id": 495818615, "node_id": "MDEyOklzc3VlQ29tbWVudDQ5NTgxODYxNQ==", "user": {"value": 9599, "label": "simonw"}, "created_at": "2019-05-25T00:19:04Z", "updated_at": "2019-05-25T00:19:04Z", "author_association": "OWNER", "body": "I think this can be implemented as an `--ignore` option to `sqlite-utils insert`", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 448391492, "label": "Option to ignore inserts if primary key exists already"}, "performed_via_github_app": null} {"html_url": "https://github.com/simonw/sqlite-utils/issues/21#issuecomment-496665669", "issue_url": "https://api.github.com/repos/simonw/sqlite-utils/issues/21", "id": 496665669, "node_id": "MDEyOklzc3VlQ29tbWVudDQ5NjY2NTY2OQ==", "user": {"value": 9599, "label": "simonw"}, "created_at": "2019-05-28T19:57:47Z", "updated_at": "2019-05-28T19:57:47Z", "author_association": "OWNER", "body": "https://www.sqlite.org/lang_insert.html\r\n\r\nLooks like it's as simple as `INSERT OR IGNORE` - and we already have code related to that here: \r\n\r\nhttps://github.com/simonw/sqlite-utils/blob/1e28eeee8ce55ea68eddb228294a1eff6785b497/sqlite_utils/db.py#L498-L501", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 448391492, "label": "Option to ignore inserts if primary key exists already"}, "performed_via_github_app": null} {"html_url": "https://github.com/simonw/sqlite-utils/issues/21#issuecomment-496786354", "issue_url": "https://api.github.com/repos/simonw/sqlite-utils/issues/21", "id": 496786354, "node_id": "MDEyOklzc3VlQ29tbWVudDQ5Njc4NjM1NA==", "user": {"value": 9599, "label": "simonw"}, "created_at": "2019-05-29T05:09:01Z", "updated_at": "2019-05-29T05:09:01Z", "author_association": "OWNER", "body": "Shipped this feature in sqlite-utils 1.1: https://sqlite-utils.readthedocs.io/en/latest/changelog.html#v1-1", "reactions": "{\"total_count\": 1, \"+1\": 1, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 448391492, "label": "Option to ignore inserts if primary key exists already"}, "performed_via_github_app": null}