home / github / issues

Menu
  • Search all tables
  • GraphQL API

issues: 569613563

This data as json

id node_id number title user state locked assignee milestone comments created_at updated_at closed_at author_association pull_request body repo type active_lock_reason performed_via_github_app reactions draft state_reason
569613563 MDU6SXNzdWU1Njk2MTM1NjM= 682 Mechanism for writing to database via a queue 9599 closed 0     10 2020-02-24T03:10:07Z 2020-02-25T04:45:10Z 2020-02-25T04:45:10Z OWNER  

I've been mulling this over for a long time, and I have a new approach that I think is worth exploring.

The catch with writing to SQLite is that it should only accept one write at a time. I'm now thinking that an easy way to manage that would be with a write queue for each database which is then read by a single dedicated write thread which manages its own writable connection.

107914493 issue    
{
    "url": "https://api.github.com/repos/simonw/datasette/issues/682/reactions",
    "total_count": 1,
    "+1": 1,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  completed

Links from other tables

  • 1 row from issues_id in issues_labels
  • 10 rows from issue in issue_comments
Powered by Datasette · Queries took 0.859ms · About: github-to-sqlite