{"html_url": "https://github.com/simonw/sqlite-utils/pull/377#issuecomment-1009534817", "issue_url": "https://api.github.com/repos/simonw/sqlite-utils/issues/377", "id": 1009534817, "node_id": "IC_kwDOCGYnMM48LEdh", "user": {"value": 9599, "label": "simonw"}, "created_at": "2022-01-11T02:09:38Z", "updated_at": "2022-01-11T02:09:38Z", "author_association": "OWNER", "body": "I tested this like so:\r\n```\r\n% wget 'https://raw.githubusercontent.com/wri/global-power-plant-database/master/output_database/global_power_plant_database.csv'\r\n% sqlite-utils create-database test.db\r\n% sqlite-utils create-table test.db power_plants url text owner text\r\n% sqlite-utils schema test.db \r\nCREATE TABLE [power_plants] (\r\n [url] TEXT,\r\n [owner] TEXT\r\n);\r\n% sqlite-utils bulk test.db 'insert into power_plants (url, owner) values (:url, :owner)' global_power_plant_database.csv --csv\r\n [------------------------------------] 0%\r\n [###################################-] 99%\r\n% sqlite-utils tables --counts test.db -t\r\ntable count\r\n------------ -------\r\npower_plants 33643\r\n```", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 1097477582, "label": "`sqlite-utils bulk` command"}, "performed_via_github_app": null} {"html_url": "https://github.com/simonw/sqlite-utils/pull/377#issuecomment-1009532125", "issue_url": "https://api.github.com/repos/simonw/sqlite-utils/issues/377", "id": 1009532125, "node_id": "IC_kwDOCGYnMM48LDzd", "user": {"value": 9599, "label": "simonw"}, "created_at": "2022-01-11T02:03:35Z", "updated_at": "2022-01-11T02:03:35Z", "author_association": "OWNER", "body": "Documentation: https://github.com/simonw/sqlite-utils/blob/f4ea0d32c0543373eefaa9b9f3911eb07549eecb/docs/cli.rst#executing-sql-in-bulk", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 1097477582, "label": "`sqlite-utils bulk` command"}, "performed_via_github_app": null}