{"html_url": "https://github.com/simonw/datasette/issues/356#issuecomment-495931078", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/356", "id": 495931078, "node_id": "MDEyOklzc3VlQ29tbWVudDQ5NTkzMTA3OA==", "user": {"value": 9599, "label": "simonw"}, "created_at": "2019-05-25T16:30:09Z", "updated_at": "2019-05-25T16:30:09Z", "author_association": "OWNER", "body": "Implemented in https://github.com/simonw/datasette/commit/d923d847545e829bf946bb9170bebfc7c3f9d993\r\n\r\nDocumentation here: https://datasette.readthedocs.io/en/latest/facets.html#facet-by-many-to-many\r\n\r\nDemo here: https://latest.datasette.io/fixtures/roadside_attractions", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 346028655, "label": "Ability to display facet counts for many-to-many relationships"}, "performed_via_github_app": null} {"html_url": "https://github.com/simonw/datasette/issues/356#issuecomment-495931140", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/356", "id": 495931140, "node_id": "MDEyOklzc3VlQ29tbWVudDQ5NTkzMTE0MA==", "user": {"value": 9599, "label": "simonw"}, "created_at": "2019-05-25T16:30:59Z", "updated_at": "2019-05-25T16:30:59Z", "author_association": "OWNER", "body": "I went with a much more simple URL scheme: `?_facet_m2m=destination_table` (it then figures out which the middle table is by looking at the foreign keys).\r\n\r\nThis can be extended to be more complicated in the future if needed.", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 346028655, "label": "Ability to display facet counts for many-to-many relationships"}, "performed_via_github_app": null} {"html_url": "https://github.com/simonw/datasette/pull/365#issuecomment-495929743", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/365", "id": 495929743, "node_id": "MDEyOklzc3VlQ29tbWVudDQ5NTkyOTc0Mw==", "user": {"value": 9599, "label": "simonw"}, "created_at": "2019-05-25T16:09:54Z", "updated_at": "2019-05-25T16:09:54Z", "author_association": "OWNER", "body": "That last commit referenced the wrong ticket - it was meant to reference #356", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 361764460, "label": "fix small doc typo"}, "performed_via_github_app": null} {"html_url": "https://github.com/simonw/sqlite-utils/issues/18#issuecomment-495818358", "issue_url": "https://api.github.com/repos/simonw/sqlite-utils/issues/18", "id": 495818358, "node_id": "MDEyOklzc3VlQ29tbWVudDQ5NTgxODM1OA==", "user": {"value": 9599, "label": "simonw"}, "created_at": "2019-05-25T00:16:50Z", "updated_at": "2019-05-25T00:16:50Z", "author_association": "OWNER", "body": "Oh that's really interesting - yeah I think having an option to insert if missing, skip otherwise would be a good feature.", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 413871266, "label": ".insert/.upsert/.insert_all/.upsert_all should add missing columns"}, "performed_via_github_app": null} {"html_url": "https://github.com/simonw/sqlite-utils/issues/20#issuecomment-495818849", "issue_url": "https://api.github.com/repos/simonw/sqlite-utils/issues/20", "id": 495818849, "node_id": "MDEyOklzc3VlQ29tbWVudDQ5NTgxODg0OQ==", "user": {"value": 9599, "label": "simonw"}, "created_at": "2019-05-25T00:21:04Z", "updated_at": "2019-05-25T00:21:04Z", "author_association": "OWNER", "body": "I'm going to implement this using a new `--json-cols` option which works by detecting any string value that starts with [ or { and is valid JSON.", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 432727685, "label": "JSON column values get extraneously quoted "}, "performed_via_github_app": null} {"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/22#issuecomment-495823173", "issue_url": "https://api.github.com/repos/simonw/sqlite-utils/issues/22", "id": 495823173, "node_id": "MDEyOklzc3VlQ29tbWVudDQ5NTgyMzE3Mw==", "user": {"value": 9599, "label": "simonw"}, "created_at": "2019-05-25T01:17:55Z", "updated_at": "2019-05-25T01:17:55Z", "author_association": "OWNER", "body": "Shipped 1.0 to PyPI!", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 448395665, "label": "Release notes for 1.0"}, "performed_via_github_app": null} {"html_url": "https://github.com/simonw/sqlite-utils/issues/22#issuecomment-495823219", "issue_url": "https://api.github.com/repos/simonw/sqlite-utils/issues/22", "id": 495823219, "node_id": "MDEyOklzc3VlQ29tbWVudDQ5NTgyMzIxOQ==", "user": {"value": 9599, "label": "simonw"}, "created_at": "2019-05-25T01:18:27Z", "updated_at": "2019-05-25T01:18:27Z", "author_association": "OWNER", "body": "https://sqlite-utils.readthedocs.io/en/latest/changelog.html#v1-0", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 448395665, "label": "Release notes for 1.0"}, "performed_via_github_app": null}