{"html_url": "https://github.com/simonw/datasette/issues/1227#issuecomment-891352132", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/1227", "id": 891352132, "node_id": "IC_kwDOBm6k_c41IPRE", "user": {"value": 9599, "label": "simonw"}, "created_at": "2021-08-02T21:38:39Z", "updated_at": "2021-08-02T21:38:39Z", "author_association": "OWNER", "body": "Relevant TIL: https://til.simonwillison.net/vscode/vs-code-regular-expressions", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 810394616, "label": "Configure sphinx.ext.extlinks for issues"}, "performed_via_github_app": null} {"html_url": "https://github.com/simonw/sqlite-utils/issues/251#issuecomment-891380382", "issue_url": "https://api.github.com/repos/simonw/sqlite-utils/issues/251", "id": 891380382, "node_id": "IC_kwDOCGYnMM41IWKe", "user": {"value": 9599, "label": "simonw"}, "created_at": "2021-08-02T22:39:46Z", "updated_at": "2021-08-02T22:39:46Z", "author_association": "OWNER", "body": "Documentation: https://sqlite-utils.datasette.io/en/stable/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": 841377702, "label": "\"sqlite-utils convert\" command to replace the separate \"sqlite-transform\" tool"}, "performed_via_github_app": null} {"html_url": "https://github.com/simonw/sqlite-utils/issues/298#issuecomment-891359751", "issue_url": "https://api.github.com/repos/simonw/sqlite-utils/issues/298", "id": 891359751, "node_id": "IC_kwDOCGYnMM41IRIH", "user": {"value": 9599, "label": "simonw"}, "created_at": "2021-08-02T21:55:16Z", "updated_at": "2021-08-02T21:55:16Z", "author_association": "OWNER", "body": "This is a feature already! You can do this:\r\n\r\n sqlite-utils insert nl-demo.db mytable data.ndjson --nl\r\n\r\nSee https://sqlite-utils.datasette.io/en/stable/cli.html#inserting-newline-delimited-json\r\n", "reactions": "{\"total_count\": 1, \"+1\": 1, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 951581763, "label": "Read lines with JSON object"}, "performed_via_github_app": null} {"html_url": "https://github.com/simonw/sqlite-utils/issues/300#issuecomment-891356906", "issue_url": "https://api.github.com/repos/simonw/sqlite-utils/issues/300", "id": 891356906, "node_id": "IC_kwDOCGYnMM41IQbq", "user": {"value": 9599, "label": "simonw"}, "created_at": "2021-08-02T21:49:10Z", "updated_at": "2021-08-02T21:49:10Z", "author_association": "OWNER", "body": "I'm nervous to set this by default in the Python library because it's a global setting, so I can't isolate it to just code that is being called by a `sqlite_utils` method.\r\n\r\nThe new `sqlite-utils convert` command from #251 DOES turn it on - I think having it on by default for a CLI tool that uses user-defined functions makes sense: https://github.com/simonw/sqlite-utils/blob/e83aef951bd3e8c179511faddb607239a5fa8682/sqlite_utils/cli.py#L2006\r\n\r\nI like the suggestion to include this in the documentation. I'll do that!", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 956832836, "label": "Returning underlying cause for User Defined Functions "}, "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} {"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-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/305#issuecomment-890713185", "issue_url": "https://api.github.com/repos/simonw/sqlite-utils/issues/305", "id": 890713185, "node_id": "IC_kwDOCGYnMM41FzRh", "user": {"value": 9599, "label": "simonw"}, "created_at": "2021-08-02T04:53:53Z", "updated_at": "2021-08-02T04:53:53Z", "author_association": "OWNER", "body": "I'm going to rename `.execute_count()` to `.count_where()` - but I'll keep `.execute_count()` in the codebase since it's a documented API at https://sqlite-utils.datasette.io/en/3.13/python-api.html#count and I don't want to do a major version bump.", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 957741820, "label": "Python: need a way to execute a count with an extra where clause"}, "performed_via_github_app": null} {"html_url": "https://github.com/simonw/sqlite-utils/issues/306#issuecomment-891352073", "issue_url": "https://api.github.com/repos/simonw/sqlite-utils/issues/306", "id": 891352073, "node_id": "IC_kwDOCGYnMM41IPQJ", "user": {"value": 9599, "label": "simonw"}, "created_at": "2021-08-02T21:38:32Z", "updated_at": "2021-08-02T21:38:32Z", "author_association": "OWNER", "body": "TIL about this: https://til.simonwillison.net/vscode/vs-code-regular-expressions", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 958516743, "label": "Configure sphinx.ext.extlinks for issues"}, "performed_via_github_app": null} {"html_url": "https://github.com/simonw/sqlite-utils/issues/306#issuecomment-891352587", "issue_url": "https://api.github.com/repos/simonw/sqlite-utils/issues/306", "id": 891352587, "node_id": "IC_kwDOCGYnMM41IPYL", "user": {"value": 9599, "label": "simonw"}, "created_at": "2021-08-02T21:39:34Z", "updated_at": "2021-08-02T21:39:34Z", "author_association": "OWNER", "body": "This older TIL would have saved me some time! https://til.simonwillison.net/sphinx/sphinx-ext-extlinks", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 958516743, "label": "Configure sphinx.ext.extlinks for issues"}, "performed_via_github_app": null}