home / github / issue_comments

Menu
  • Search all tables
  • GraphQL API

issue_comments: 753390262

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/1168#issuecomment-753390262 https://api.github.com/repos/simonw/datasette/issues/1168 753390262 MDEyOklzc3VlQ29tbWVudDc1MzM5MDI2Mg== 9599 2021-01-01T21:58:11Z 2021-01-01T21:58:11Z OWNER

One possibility: plugins could write directly to that in-memory database table. But how would they know to write again should the server restart? Maybe they would write to it once when called by the startup plugin hook, and then update it (and their own backing store) when metadata changes for some reason. Feels a bit messy though.

Also: if I want to support metadata optionally living in a _metadata table colocated with the data in a SQLite database file itself, how would that affect the metadata columns in _internal? How often would Datasette denormalize and copy data across from the on-disk _metadata tables to the _internal in-memory columns?

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