{"html_url": "https://github.com/simonw/sqlite-utils/issues/500#issuecomment-1282800547", "issue_url": "https://api.github.com/repos/simonw/sqlite-utils/issues/500", "id": 1282800547, "node_id": "IC_kwDOCGYnMM5Mdfuj", "user": {"value": 9599, "label": "simonw"}, "created_at": "2022-10-18T18:02:09Z", "updated_at": "2022-10-18T18:02:09Z", "author_association": "OWNER", "body": "Documentation: https://sqlite-utils.datasette.io/en/latest/reference.html#sqlite-utils-utils-flatten", "reactions": "{\"total_count\": 1, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 1, \"eyes\": 0}", "issue": {"value": 1413610718, "label": "Turn --flatten into a documented utility function"}, "performed_via_github_app": null} {"html_url": "https://github.com/simonw/sqlite-utils/issues/500#issuecomment-1282780770", "issue_url": "https://api.github.com/repos/simonw/sqlite-utils/issues/500", "id": 1282780770, "node_id": "IC_kwDOCGYnMM5Mda5i", "user": {"value": 9599, "label": "simonw"}, "created_at": "2022-10-18T17:45:56Z", "updated_at": "2022-10-18T17:46:05Z", "author_association": "OWNER", "body": "I think the public interface is a `flatten(row)` function that does `dict(_flatten(row))`.", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 1413610718, "label": "Turn --flatten into a documented utility function"}, "performed_via_github_app": null} {"html_url": "https://github.com/simonw/sqlite-utils/issues/500#issuecomment-1282779755", "issue_url": "https://api.github.com/repos/simonw/sqlite-utils/issues/500", "id": 1282779755, "node_id": "IC_kwDOCGYnMM5Mdapr", "user": {"value": 9599, "label": "simonw"}, "created_at": "2022-10-18T17:45:10Z", "updated_at": "2022-10-18T17:45:10Z", "author_association": "OWNER", "body": "It should go in `sqlite_utils.utils` - documented here: https://sqlite-utils.datasette.io/en/stable/reference.html#sqlite-utils-utils", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 1413610718, "label": "Turn --flatten into a documented utility function"}, "performed_via_github_app": null} {"html_url": "https://github.com/simonw/sqlite-utils/issues/500#issuecomment-1282778928", "issue_url": "https://api.github.com/repos/simonw/sqlite-utils/issues/500", "id": 1282778928, "node_id": "IC_kwDOCGYnMM5Mdacw", "user": {"value": 9599, "label": "simonw"}, "created_at": "2022-10-18T17:44:20Z", "updated_at": "2022-10-18T17:44:20Z", "author_association": "OWNER", "body": "Here's how it works:\r\n\r\nhttps://github.com/simonw/sqlite-utils/blob/d792dad1cf5f16525da81b1e162fb71d469995f3/sqlite_utils/cli.py#L1847-L1848\r\n\r\nhttps://github.com/simonw/sqlite-utils/blob/d792dad1cf5f16525da81b1e162fb71d469995f3/sqlite_utils/cli.py#L1082-L1088", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 1413610718, "label": "Turn --flatten into a documented utility function"}, "performed_via_github_app": null}