home / github

Menu
  • Search all tables
  • GraphQL API

issue_comments

Table actions
  • GraphQL API for issue_comments

3 rows where issue = 866668415 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 3

issue 1

  • Columns named "link" display in bold · 3 ✖

author_association 1

  • OWNER 3
id html_url issue_url node_id user created_at updated_at ▲ author_association body reactions issue performed_via_github_app
826041458 https://github.com/simonw/datasette/issues/1308#issuecomment-826041458 https://api.github.com/repos/simonw/datasette/issues/1308 MDEyOklzc3VlQ29tbWVudDgyNjA0MTQ1OA== simonw 9599 2021-04-24T06:07:01Z 2021-04-24T06:07:01Z OWNER

I can use td.type-pk instead - here's the existing HTML: ```html

<td class="col-Link type-pk">1</td>

```

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
Columns named "link" display in bold 866668415  
826040909 https://github.com/simonw/datasette/issues/1308#issuecomment-826040909 https://api.github.com/repos/simonw/datasette/issues/1308 MDEyOklzc3VlQ29tbWVudDgyNjA0MDkwOQ== simonw 9599 2021-04-24T06:01:21Z 2021-04-24T06:01:21Z OWNER

Demo: echo '{"link": "https://example.com/"}' | sqlite-utils insert link.db link -

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
Columns named "link" display in bold 866668415  
826040676 https://github.com/simonw/datasette/issues/1308#issuecomment-826040676 https://api.github.com/repos/simonw/datasette/issues/1308 MDEyOklzc3VlQ29tbWVudDgyNjA0MDY3Ng== simonw 9599 2021-04-24T05:58:35Z 2021-04-24T05:58:35Z OWNER

Here's why: https://github.com/simonw/datasette/blob/6ed9238178a56da5fb019f37fb1e1e15886be1d1/datasette/static/app.css#L435-L437

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
Columns named "link" display in bold 866668415  

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 24.814ms · About: github-to-sqlite
  • Sort ascending
  • Sort descending
  • Facet by this
  • Hide this column
  • Show all columns
  • Show not-blank rows