home / github / issue_comments

Menu
  • Search all tables
  • GraphQL API

issue_comments: 1704383901

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/sqlite-utils/issues/589#issuecomment-1704383901 https://api.github.com/repos/simonw/sqlite-utils/issues/589 1704383901 IC_kwDOCGYnMM5lltWd 9599 2023-09-03T19:34:05Z 2023-09-03T19:34:05Z OWNER

For that particular case I realized I'd quite like to have a mechanism for applying functions for a block of code and then de-registering them at the end - a context manager.

I played with this idea a bit:

python with db.register_functions(md5, md5_random): db.query(...)

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
1879209560  
Powered by Datasette · Queries took 1.15ms · About: github-to-sqlite