home / github / issues

Menu
  • Search all tables
  • GraphQL API

issues: 921878733

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
921878733 MDU6SXNzdWU5MjE4Nzg3MzM= 272 Idea: import CSV to memory, run SQL, export in a single command 9599 closed 0     22 2021-06-15T23:02:48Z 2021-06-19T23:36:48Z 2021-06-18T15:05:03Z OWNER  

I quite often load a CSV file into a SQLite DB, then do stuff with it (like export results back out again as a new CSV) without any intention of keeping the CSV file around afterwards.

What if sqlite-utils could do this for me? Something like this:

sqlite-utils --csv blah.csv --csv baz.csv "select * from blah join baz ..."
140912432 issue    
{
    "url": "https://api.github.com/repos/simonw/sqlite-utils/issues/272/reactions",
    "total_count": 0,
    "+1": 0,
    "-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
  • 22 rows from issue in issue_comments
Powered by Datasette · Queries took 0.866ms · About: github-to-sqlite