home / github

Menu
  • Search all tables
  • GraphQL API

issue_comments

Table actions
  • GraphQL API for issue_comments

5 rows where "created_at" is on date 2020-06-09 and issue = 314506669 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

  • Allow plugins to define additional URL routes and views · 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
641002504 https://github.com/simonw/datasette/issues/215#issuecomment-641002504 https://api.github.com/repos/simonw/datasette/issues/215 MDEyOklzc3VlQ29tbWVudDY0MTAwMjUwNA== simonw 9599 2020-06-09T03:14:32Z 2020-06-09T03:14:32Z OWNER

Documentation: https://datasette.readthedocs.io/en/latest/plugins.html#register-routes

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
Allow plugins to define additional URL routes and views 314506669  
640972952 https://github.com/simonw/datasette/issues/215#issuecomment-640972952 https://api.github.com/repos/simonw/datasette/issues/215 MDEyOklzc3VlQ29tbWVudDY0MDk3Mjk1Mg== simonw 9599 2020-06-09T01:24:52Z 2020-06-09T01:25:33Z OWNER

WIP documentation: https://github.com/simonw/datasette/blob/770dedb21adfc706592e6b5cdf5e751a8720fdf9/docs/plugins.rst#register_routes

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
Allow plugins to define additional URL routes and views 314506669  
640971470 https://github.com/simonw/datasette/issues/215#issuecomment-640971470 https://api.github.com/repos/simonw/datasette/issues/215 MDEyOklzc3VlQ29tbWVudDY0MDk3MTQ3MA== simonw 9599 2020-06-09T01:19:44Z 2020-06-09T01:19:44Z OWNER

I'll need to add documentation of the Response object (and Response.html() and Response.text() class methods - I should add Response.json() too) to the internals page https://datasette.readthedocs.io/en/stable/internals.html

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
Allow plugins to define additional URL routes and views 314506669  
640960667 https://github.com/simonw/datasette/issues/215#issuecomment-640960667 https://api.github.com/repos/simonw/datasette/issues/215 MDEyOklzc3VlQ29tbWVudDY0MDk2MDY2Nw== simonw 9599 2020-06-09T00:41:35Z 2020-06-09T00:41:35Z OWNER

I'm going to implement this one documentation-first in a pull request.

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
Allow plugins to define additional URL routes and views 314506669  
640960553 https://github.com/simonw/datasette/issues/215#issuecomment-640960553 https://api.github.com/repos/simonw/datasette/issues/215 MDEyOklzc3VlQ29tbWVudDY0MDk2MDU1Mw== simonw 9599 2020-06-09T00:41:09Z 2020-06-09T00:41:09Z OWNER

I'm going to imitate register_output_renderer and register_facet_classes - both return a list of things to register.

So I'll do this:

python @hookspec def register_routes(): "Register URL routes. Return a list of (regex, view_function) pairs"

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
Allow plugins to define additional URL routes and views 314506669  

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