{"html_url": "https://github.com/simonw/sqlite-utils/issues/237#issuecomment-786050562", "issue_url": "https://api.github.com/repos/simonw/sqlite-utils/issues/237", "id": 786050562, "node_id": "MDEyOklzc3VlQ29tbWVudDc4NjA1MDU2Mg==", "user": {"value": 9599, "label": "simonw"}, "created_at": "2021-02-25T16:57:56Z", "updated_at": "2021-02-25T16:57:56Z", "author_association": "OWNER", "body": "`sqlite-utils create-view` currently has a `--ignore` option, so adding that to `sqlite-utils drop-view` and `sqlite-utils drop-table` makes sense as well.", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 815554385, "label": "db[\"my_table\"].drop(ignore=True) parameter, plus sqlite-utils drop-table --ignore and drop-view --ignore"}, "performed_via_github_app": null} {"html_url": "https://github.com/simonw/sqlite-utils/issues/237#issuecomment-786049686", "issue_url": "https://api.github.com/repos/simonw/sqlite-utils/issues/237", "id": 786049686, "node_id": "MDEyOklzc3VlQ29tbWVudDc4NjA0OTY4Ng==", "user": {"value": 9599, "label": "simonw"}, "created_at": "2021-02-25T16:56:42Z", "updated_at": "2021-02-25T16:56:42Z", "author_association": "OWNER", "body": "So:\r\n```python\r\n db[\"my_table\"].drop(ignore=True)\r\n```", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 815554385, "label": "db[\"my_table\"].drop(ignore=True) parameter, plus sqlite-utils drop-table --ignore and drop-view --ignore"}, "performed_via_github_app": null} {"html_url": "https://github.com/simonw/sqlite-utils/issues/237#issuecomment-786049394", "issue_url": "https://api.github.com/repos/simonw/sqlite-utils/issues/237", "id": 786049394, "node_id": "MDEyOklzc3VlQ29tbWVudDc4NjA0OTM5NA==", "user": {"value": 9599, "label": "simonw"}, "created_at": "2021-02-25T16:56:14Z", "updated_at": "2021-02-25T16:56:14Z", "author_association": "OWNER", "body": "Other methods (`db.create_view()` for example) have `ignore=True` to mean \"don't throw an error if this causes a problem\", so I'm good with adding that to `.drop_view()`.\r\n\r\nI don't like using it as the default partly because that would be a very minor breaking API change, but mainly because I don't want to hide mistakes people make - e.g. if you mistype the name of the table you are trying to drop.", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 815554385, "label": "db[\"my_table\"].drop(ignore=True) parameter, plus sqlite-utils drop-table --ignore and drop-view --ignore"}, "performed_via_github_app": null}