home / github

Menu
  • Search all tables
  • GraphQL API

issue_comments

Table actions
  • GraphQL API for issue_comments

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

  • _where= parameter is not persisted in hidden form fields · 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
548069859 https://github.com/simonw/datasette/issues/604#issuecomment-548069859 https://api.github.com/repos/simonw/datasette/issues/604 MDEyOklzc3VlQ29tbWVudDU0ODA2OTg1OQ== simonw 9599 2019-10-30T19:12:38Z 2019-10-30T19:12:38Z OWNER

Shipped in 0.30.1 https://datasette.readthedocs.io/en/latest/changelog.html#v0-30-1

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
_where= parameter is not persisted in hidden form fields 509693773  
546155658 https://github.com/simonw/datasette/issues/604#issuecomment-546155658 https://api.github.com/repos/simonw/datasette/issues/604 MDEyOklzc3VlQ29tbWVudDU0NjE1NTY1OA== simonw 9599 2019-10-25T00:46:30Z 2019-10-25T00:47:41Z OWNER

Just adding _where to that tuple won't do the trick, because _where= can be passed multiple times, e.g. https://latest.datasette.io/fixtures/roadside_attractions?_where=name%20like%20%27%museum%%27&_where=address%20like%20%27%Drive%%27

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
_where= parameter is not persisted in hidden form fields 509693773  
546155557 https://github.com/simonw/datasette/issues/604#issuecomment-546155557 https://api.github.com/repos/simonw/datasette/issues/604 MDEyOklzc3VlQ29tbWVudDU0NjE1NTU1Nw== simonw 9599 2019-10-25T00:45:51Z 2019-10-25T00:45:51Z OWNER

Relevant code:

https://github.com/simonw/datasette/blob/912ce848b9fa8b1642c800b446f504518bc39f2a/datasette/templates/table.html#L94-L97

And

https://github.com/simonw/datasette/blob/b9ede4c1898616512b5d204f9c941deff473cbe4/datasette/views/table.py#L719-L722

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
_where= parameter is not persisted in hidden form fields 509693773  

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