home / github

Menu
  • Search all tables
  • GraphQL API

issue_comments

Table actions
  • GraphQL API for issue_comments

2 rows where issue = 677250834 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

  • datasette fixtures.db --get "/fixtures.json" · 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
672393737 https://github.com/simonw/datasette/issues/926#issuecomment-672393737 https://api.github.com/repos/simonw/datasette/issues/926 MDEyOklzc3VlQ29tbWVudDY3MjM5MzczNw== simonw 9599 2020-08-12T00:26:17Z 2020-08-12T00:26:17Z OWNER

$ datasette --get '/:memory:.json?sql=select+sqlite_version()' | jq . { "database": ":memory:", "query_name": null, "rows": [ [ "3.32.3" ] ], "truncated": false, "columns": [ "sqlite_version()" ], "query": { "sql": "select sqlite_version()", "params": {} }, "private": false, "allow_execute_sql": true, "query_ms": 1.165628433227539 }

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
datasette fixtures.db --get "/fixtures.json" 677250834  
672338113 https://github.com/simonw/datasette/issues/926#issuecomment-672338113 https://api.github.com/repos/simonw/datasette/issues/926 MDEyOklzc3VlQ29tbWVudDY3MjMzODExMw== simonw 9599 2020-08-11T22:57:28Z 2020-08-11T22:57:28Z OWNER

I partly want this so I can easily implement a better test method for the Homebrew package. The test I have right now looks like this:

https://github.com/simonw/homebrew-datasette/blob/8aa30aa183158051a987a7e3f50e7e3ee05d8ee9/Formula/datasette.rb#L125-L127

test do system bin/"datasette", "--help" end The Homebrew docs at https://docs.brew.sh/Formula-Cookbook#add-a-test-to-the-formula say:

We want tests that don't require any user input and test the basic functionality of the application. For example foo build-foo input.foo is a good test and (despite their widespread use) foo --version and foo --help are bad tests. However, a bad test is better than no test at all.

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
datasette fixtures.db --get "/fixtures.json" 677250834  

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