{"html_url": "https://github.com/simonw/datasette/issues/266#issuecomment-397912840", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/266", "id": 397912840, "node_id": "MDEyOklzc3VlQ29tbWVudDM5NzkxMjg0MA==", "user": {"value": 9599, "label": "simonw"}, "created_at": "2018-06-17T23:13:35Z", "updated_at": "2018-06-17T23:16:42Z", "author_association": "OWNER", "body": "This worked! https://github.com/simonw/datasette/commit/5a0a82faf9cf9dd109d76181ed00eea19472087c - it spat out a 76MB CSV when I ran it against the sf-trees demo database.\r\n\r\nIt was just a quick hack though - it currently ignores `_labels=` and `_dl=` which need to be supported.\r\n\r\nI'm going to add a config option for turning full CSV export off just in case any Datasette users are uncomfortable with URLs that churn out that much data in one go.\r\n\r\n```\r\n ConfigOption(\"allow_csv_stream\", True, \"\"\"\r\n Allow .csv?_stream=1 to download all rows (ignoring max_returned_rows)\r\n \"\"\".strip()),\r\n```", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 323681589, "label": "Export to CSV"}, "performed_via_github_app": null}