home / github

Menu
  • Search all tables
  • GraphQL API

issue_comments

Table actions
  • GraphQL API for issue_comments

2 rows where issue = 273026602 and user = 9599 sorted by updated_at descending

✖
✖
✖

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: created_at (date), updated_at (date)

user 1

  • simonw · 2 ✖

issue 1

  • Solution for temporarily uploading DB so it can be built by docker · 2 ✖

author_association 1

  • OWNER 2
id html_url issue_url node_id user created_at updated_at ▲ author_association body reactions issue performed_via_github_app
350521635 https://github.com/simonw/datasette/issues/52#issuecomment-350521635 https://api.github.com/repos/simonw/datasette/issues/52 MDEyOklzc3VlQ29tbWVudDM1MDUyMTYzNQ== simonw 9599 2017-12-10T03:02:56Z 2017-12-10T03:02:56Z OWNER

I don't think this is necessary.

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
Solution for temporarily uploading DB so it can be built by docker 273026602  
343557070 https://github.com/simonw/datasette/issues/52#issuecomment-343557070 https://api.github.com/repos/simonw/datasette/issues/52 MDEyOklzc3VlQ29tbWVudDM0MzU1NzA3MA== simonw 9599 2017-11-10T18:57:47Z 2017-11-10T18:57:47Z OWNER

https://file.io/ looks like it could be good for this. It's been around since 2015, and lets you upload a temporary file which can be downloaded once.

$ curl -s -F "file=@database.db" "https://file.io/?expires=1d"
{"success":true,"key":"ySrl1j","link":"https://file.io/ySrl1j","expiry":"1 day"}

Downloading from that URL serves up the data with a Content-disposition header containing the filename:

simonw$ curl -vv https://file.io/ySrl1j | more
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0*   Trying 34.232.1.167...
* Connected to file.io (34.232.1.167) port 443 (#0)
* TLS 1.2 connection using TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256
* Server certificate: file.io
* Server certificate: Amazon
* Server certificate: Amazon Root CA 1
* Server certificate: Starfield Services Root Certificate Authority - G2
> GET /ySrl1j HTTP/1.1
> Host: file.io
> User-Agent: curl/7.43.0
> Accept: */*
> 
< HTTP/1.1 200 OK
< Date: Fri, 10 Nov 2017 18:14:38 GMT
< Content-Type: undefined
< Transfer-Encoding: chunked
< Connection: keep-alive
< X-Powered-By: Express
< X-RateLimit-Limit: 5
< X-RateLimit-Remaining: 4
< Access-Control-Allow-Origin: *
< Access-Control-Allow-Headers: Cache-Control,X-reqed-With,x-requested-with
< Content-disposition: attachment; filename=database.db
...
{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
Solution for temporarily uploading DB so it can be built by docker 273026602  

Advanced export

JSON shape: default, array, newline-delimited, object

CSV options:

CREATE TABLE [issue_comments] (
   [html_url] TEXT,
   [issue_url] TEXT,
   [id] INTEGER PRIMARY KEY,
   [node_id] TEXT,
   [user] INTEGER REFERENCES [users]([id]),
   [created_at] TEXT,
   [updated_at] TEXT,
   [author_association] TEXT,
   [body] TEXT,
   [reactions] TEXT,
   [issue] INTEGER REFERENCES [issues]([id])
, [performed_via_github_app] TEXT);
CREATE INDEX [idx_issue_comments_issue]
                ON [issue_comments] ([issue]);
CREATE INDEX [idx_issue_comments_user]
                ON [issue_comments] ([user]);
Powered by Datasette · Queries took 920.216ms · About: github-to-sqlite
  • Sort ascending
  • Sort descending
  • Facet by this
  • Hide this column
  • Show all columns
  • Show not-blank rows