github
html_url | issue_url | id | node_id | user | created_at | updated_at | author_association | body | reactions | issue | performed_via_github_app |
---|---|---|---|---|---|---|---|---|---|---|---|
https://github.com/simonw/datasette/issues/1807#issuecomment-1241185851 | https://api.github.com/repos/simonw/datasette/issues/1807 | 1241185851 | IC_kwDOBm6k_c5J-v47 | 9599 | 2022-09-08T20:14:05Z | 2022-09-08T20:14:05Z | OWNER | The entire concept of a "writable database" is something that's becoming increasingly important to be honest. Maybe Datasette should have that as a core concept which plugins can interact with? I had to write [this code](https://github.com/simonw/datasette-upload-csvs/blob/6b7581f5d5363bd17632ebbf5a1e7fe12beddab6/datasette_upload_csvs/__init__.py#L38) in `datasette-upload-csvs` which is a bit nasty: ```python if await datasette.permission_allowed( actor, "upload-csvs", default=False ) and any( db.is_mutable and db.name not in ("_memory", "_internal") for db in datasette.databases.values() ): ``` | { "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
1366915240 | |
https://github.com/simonw/sqlite-utils/issues/297#issuecomment-1240882245 | https://api.github.com/repos/simonw/sqlite-utils/issues/297 | 1240882245 | IC_kwDOCGYnMM5J9lxF | 9599 | 2022-09-08T15:33:11Z | 2022-09-08T15:33:11Z | OWNER | The more I think about this the more I like it - particularly for `sqlite-utils fast-insert` where differences in features aren't a problem. I used a variant of this trick with parquet files here: https://simonwillison.net/2022/Sep/5/laion-aesthetics-weeknotes/ | { "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
944846776 |