issue_comments: 522238222
This data as json
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/569#issuecomment-522238222 | https://api.github.com/repos/simonw/datasette/issues/569 | 522238222 | MDEyOklzc3VlQ29tbWVudDUyMjIzODIyMg== | 9599 | 2019-08-17T13:44:24Z | 2019-08-17T13:45:10Z | OWNER | Potential API design: ```python with pool.connection("fixtures") as conn: conn.set_time_limit(1000) conn.allow_all() conn.execute(...) ``` Within this block the current thread has exclusive action to the connection - which has essentially been "checked out" from the pool. When the block ends that connection is made available to be checked out by other threads. This could accept multiple database names for the case where I want to join across databases: ```python with pool.connection("fixtures", "dogs") as conn: conn.execute(...) ``` | {"total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0} | 481885279 |