home / github

Menu
  • Search all tables
  • GraphQL API

issue_comments

Table actions
  • GraphQL API for issue_comments

5 rows where issue = 1174306154, "updated_at" is on date 2022-03-20 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 · 5 ✖

issue 1

  • Introduce concept of a database `route`, separate from its name · 5 ✖

author_association 1

  • OWNER 5
id html_url issue_url node_id user created_at updated_at ▲ author_association body reactions issue performed_via_github_app
1073136896 https://github.com/simonw/datasette/issues/1668#issuecomment-1073136896 https://api.github.com/repos/simonw/datasette/issues/1668 IC_kwDOBm6k_c4_9sUA simonw 9599 2022-03-20T00:33:23Z 2022-03-20T00:33:23Z OWNER

I'm going to release this as a 0.61 alpha so I can more easily depend on it from datasette-hashed-urls.

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
Introduce concept of a database `route`, separate from its name 1174306154  
1073136686 https://github.com/simonw/datasette/issues/1668#issuecomment-1073136686 https://api.github.com/repos/simonw/datasette/issues/1668 IC_kwDOBm6k_c4_9sQu simonw 9599 2022-03-20T00:31:13Z 2022-03-20T00:31:13Z OWNER

That demo is now live:

  • https://latest.datasette.io/alternative-route
  • https://latest.datasette.io/alternative-route/attraction_characteristic
{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
Introduce concept of a database `route`, separate from its name 1174306154  
1073135433 https://github.com/simonw/datasette/issues/1668#issuecomment-1073135433 https://api.github.com/repos/simonw/datasette/issues/1668 IC_kwDOBm6k_c4_9r9J simonw 9599 2022-03-20T00:20:36Z 2022-03-20T00:20:36Z OWNER

Building this plugin instantly revealed that all of the links - on the homepage and the database page and so on - are incorrect: ```python from datasette import hookimpl

@hookimpl def startup(datasette): db = datasette.get_database("fixtures2") db.route = "alternative-route" ```

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
Introduce concept of a database `route`, separate from its name 1174306154  
1073134816 https://github.com/simonw/datasette/issues/1668#issuecomment-1073134816 https://api.github.com/repos/simonw/datasette/issues/1668 IC_kwDOBm6k_c4_9rzg simonw 9599 2022-03-20T00:16:22Z 2022-03-20T00:16:22Z OWNER

I'm going to add a fixtures2.db database which has that as the name but alternative-route as the route. I'll set that up using a custom plugin in the plugins/ folder that gets deployed by https://github.com/simonw/datasette/blob/main/.github/workflows/deploy-latest.yml

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
Introduce concept of a database `route`, separate from its name 1174306154  
1073134206 https://github.com/simonw/datasette/issues/1668#issuecomment-1073134206 https://api.github.com/repos/simonw/datasette/issues/1668 IC_kwDOBm6k_c4_9rp- simonw 9599 2022-03-20T00:12:03Z 2022-03-20T00:12:03Z OWNER

I'd like to have a live demo of this up on latest.datasette.io too.

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
Introduce concept of a database `route`, separate from its name 1174306154  

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 661.2ms · About: github-to-sqlite