home / github / issue_comments

Menu
  • GraphQL API

issue_comments: 747801084

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/1151#issuecomment-747801084 https://api.github.com/repos/simonw/datasette/issues/1151 747801084 MDEyOklzc3VlQ29tbWVudDc0NzgwMTA4NA== 9599 2020-12-18T01:01:26Z 2020-12-18T01:01:26Z OWNER I tested this with a one-off plugin and it worked! ```python from datasette import hookimpl from datasette.database import Database @hookimpl def startup(datasette): datasette.add_database("statistics", Database( datasette, memory_name="statistics" )) ``` This created a `/statistics` database when I ran `datasette` - and if I installed https://github.com/simonw/datasette-write I could then create tables in it which persisted until I restarted the server. {"total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0} 770448622  
Powered by Datasette · Queries took 1.137ms