home / github

Menu
  • Search all tables
  • GraphQL API

issue_comments

Table actions
  • GraphQL API for issue_comments

3 rows where issue = 1525815985 sorted by updated_at descending

✖
✖

✎ View and edit SQL

This data as json, CSV (advanced)

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

user 2

  • simonw 2
  • eyeseast 1

author_association 2

  • OWNER 2
  • CONTRIBUTOR 1

issue 1

  • Make CustomJSONEncoder a documented public API · 3 ✖
id html_url issue_url node_id user created_at updated_at ▲ author_association body reactions issue performed_via_github_app
1375810027 https://github.com/simonw/datasette/issues/1983#issuecomment-1375810027 https://api.github.com/repos/simonw/datasette/issues/1983 IC_kwDOBm6k_c5SATHr eyeseast 25778 2023-01-09T15:35:58Z 2023-01-09T15:35:58Z CONTRIBUTOR

Yes please, and thank you. I realized I was maybe getting myself in trouble using that, but I think it's a good way to standardize JSON handling.

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
Make CustomJSONEncoder a documented public API 1525815985  
1375797856 https://github.com/simonw/datasette/issues/1983#issuecomment-1375797856 https://api.github.com/repos/simonw/datasette/issues/1983 IC_kwDOBm6k_c5SAQJg simonw 9599 2023-01-09T15:29:34Z 2023-01-09T15:29:34Z OWNER

I had forgotten this had special handling for cursors!

The default representation of a row as a tuple rather than a dictionary might not be the right thing to do based on: - #782

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
Make CustomJSONEncoder a documented public API 1525815985  
1375795441 https://github.com/simonw/datasette/issues/1983#issuecomment-1375795441 https://api.github.com/repos/simonw/datasette/issues/1983 IC_kwDOBm6k_c5SAPjx simonw 9599 2023-01-09T15:27:53Z 2023-01-09T15:27:53Z OWNER

https://github.com/simonw/datasette/blob/7b48664d751e59222c01c97a2739d53d6363bdda/datasette/utils/init.py#L163-L178

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
Make CustomJSONEncoder a documented public API 1525815985  

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