home / github

Menu
  • Search all tables
  • GraphQL API

issue_comments

Table actions
  • GraphQL API for issue_comments

6 rows where issue = 585633142 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 6

issue 1

  • Documentation for the "request" object · 6 ✖

author_association 1

  • OWNER 6
id html_url issue_url node_id user created_at updated_at ▲ author_association body reactions issue performed_via_github_app
635131217 https://github.com/simonw/datasette/issues/706#issuecomment-635131217 https://api.github.com/repos/simonw/datasette/issues/706 MDEyOklzc3VlQ29tbWVudDYzNTEzMTIxNw== simonw 9599 2020-05-28T06:20:44Z 2020-05-28T06:20:44Z OWNER

Documentation: https://datasette.readthedocs.io/en/latest/sql_queries.html#canned-queries-default-fragment

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
Documentation for the "request" object 585633142  
634975252 https://github.com/simonw/datasette/issues/706#issuecomment-634975252 https://api.github.com/repos/simonw/datasette/issues/706 MDEyOklzc3VlQ29tbWVudDYzNDk3NTI1Mg== simonw 9599 2020-05-27T22:23:26Z 2020-05-27T22:30:05Z OWNER

I'm going to leave .raw_args in for the moment but deliberately not document it. I'll hope to phase it out entirely at a later date.

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
Documentation for the "request" object 585633142  
634974819 https://github.com/simonw/datasette/issues/706#issuecomment-634974819 https://api.github.com/repos/simonw/datasette/issues/706 MDEyOklzc3VlQ29tbWVudDYzNDk3NDgxOQ== simonw 9599 2020-05-27T22:22:20Z 2020-05-27T22:22:20Z OWNER

What would a better name be?

  • .simple_args
  • .kv_args
  • .pair_args
  • .dict_args
  • .args_dict

I dislike the last two the least.

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
Documentation for the "request" object 585633142  
634974088 https://github.com/simonw/datasette/issues/706#issuecomment-634974088 https://api.github.com/repos/simonw/datasette/issues/706 MDEyOklzc3VlQ29tbWVudDYzNDk3NDA4OA== simonw 9599 2020-05-27T22:20:20Z 2020-05-27T22:20:20Z OWNER

It looks like I inherited .raw_args from Sanic - I use it in a few places: https://github.com/search?q=user%3Asimonw+raw_args&type=Code

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
Documentation for the "request" object 585633142  
634973596 https://github.com/simonw/datasette/issues/706#issuecomment-634973596 https://api.github.com/repos/simonw/datasette/issues/706 MDEyOklzc3VlQ29tbWVudDYzNDk3MzU5Ng== simonw 9599 2020-05-27T22:19:02Z 2020-05-27T22:19:02Z OWNER

New documentation can be seen here: https://github.com/simonw/datasette/blob/6d7cb02f00010d3cb4b4bac0460d41277652b80e/docs/internals.rst#request-object

It's inspired me to reconsider the name of the .raw_args property, which isn't particularly clear.

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
Documentation for the "request" object 585633142  
634965148 https://github.com/simonw/datasette/issues/706#issuecomment-634965148 https://api.github.com/repos/simonw/datasette/issues/706 MDEyOklzc3VlQ29tbWVudDYzNDk2NTE0OA== simonw 9599 2020-05-27T21:59:07Z 2020-05-27T21:59:07Z OWNER

This is the full current implementation of the request object: https://github.com/simonw/datasette/blob/9424687e9e94401438896116898a071702b09d40/datasette/utils/asgi.py#L15-L95

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
Documentation for the "request" object 585633142  

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