{"html_url": "https://github.com/simonw/sqlite-utils/issues/304#issuecomment-891257730", "issue_url": "https://api.github.com/repos/simonw/sqlite-utils/issues/304", "id": 891257730, "node_id": "IC_kwDOCGYnMM41H4OC", "user": {"value": 9599, "label": "simonw"}, "created_at": "2021-08-02T19:00:00Z", "updated_at": "2021-08-02T19:00:00Z", "author_association": "OWNER", "body": "Documented here:\r\n\r\n- https://sqlite-utils.datasette.io/en/latest/python-api.html#converting-data-in-columns\r\n- https://sqlite-utils.datasette.io/en/latest/cli.html#converting-data-in-columns", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 957731178, "label": "`table.convert(..., where=)` and `sqlite-utils convert ... --where=`"}, "performed_via_github_app": null} {"html_url": "https://github.com/simonw/sqlite-utils/issues/304#issuecomment-890711924", "issue_url": "https://api.github.com/repos/simonw/sqlite-utils/issues/304", "id": 890711924, "node_id": "IC_kwDOCGYnMM41Fy90", "user": {"value": 9599, "label": "simonw"}, "created_at": "2021-08-02T04:50:13Z", "updated_at": "2021-08-02T04:50:13Z", "author_association": "OWNER", "body": "For the Python function, the args will be `where=None, where_args=None`.", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 957731178, "label": "`table.convert(..., where=)` and `sqlite-utils convert ... --where=`"}, "performed_via_github_app": null} {"html_url": "https://github.com/simonw/sqlite-utils/issues/304#issuecomment-890704624", "issue_url": "https://api.github.com/repos/simonw/sqlite-utils/issues/304", "id": 890704624, "node_id": "IC_kwDOCGYnMM41FxLw", "user": {"value": 9599, "label": "simonw"}, "created_at": "2021-08-02T04:28:42Z", "updated_at": "2021-08-02T04:28:42Z", "author_association": "OWNER", "body": "For the command-line version this can duplicate the `--param` option to allow named parameters in the where clause: https://github.com/simonw/sqlite-utils/blob/c7e8d72be9fe8fe0811f685a18eebc637662d41b/sqlite_utils/cli.py#L1096-L1102", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 957731178, "label": "`table.convert(..., where=)` and `sqlite-utils convert ... --where=`"}, "performed_via_github_app": null}