home / github

Menu
  • Search all tables
  • GraphQL API

issue_comments

Table actions
  • GraphQL API for issue_comments

5 rows where issue = 326182814 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

  • Ability to enable/disable specific features via --config · 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
391950691 https://github.com/simonw/datasette/issues/284#issuecomment-391950691 https://api.github.com/repos/simonw/datasette/issues/284 MDEyOklzc3VlQ29tbWVudDM5MTk1MDY5MQ== simonw 9599 2018-05-25T06:01:23Z 2018-05-25T06:05:02Z OWNER

Demo:

datasette publish now --branch=master fixtures.db \
    --source="#284 Demo" \
    --source_url="https://github.com/simonw/datasette/issues/284" \
    --extra-options "--config allow_sql:off --config allow_facet:off --config allow_download:off" \
    --name=datasette-demo-284

now alias https://datasette-demo-284-jogjwngegj.now.sh datasette-demo-284.now.sh

https://datasette-demo-284.now.sh/

Note the following:

  • https://datasette-demo-284.now.sh/fixtures-fda0fea has no SQL input textarea
  • https://datasette-demo-284.now.sh/fixtures-fda0fea has no database download link
  • https://datasette-demo-284.now.sh/fixtures-fda0fea.db returns 403 forbidden
  • https://datasette-demo-284.now.sh/fixtures-fda0fea?sql=select%20*%20from%20sqlite_master throws error 400
  • https://datasette-demo-284.now.sh/fixtures-fda0fea/facetable shows no suggested facets
  • https://datasette-demo-284.now.sh/fixtures-fda0fea/facetable?_facet=city_id throws error 400
{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
Ability to enable/disable specific features via --config 326182814  
391912392 https://github.com/simonw/datasette/issues/284#issuecomment-391912392 https://api.github.com/repos/simonw/datasette/issues/284 MDEyOklzc3VlQ29tbWVudDM5MTkxMjM5Mg== simonw 9599 2018-05-25T01:16:56Z 2018-05-25T01:17:13Z OWNER

allow_sql should only affect the ?sql= parameter and whether or not the form is displayed. You should still be able to use and execute canned queries even if this option is turned off.

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
Ability to enable/disable specific features via --config 326182814  
391766420 https://github.com/simonw/datasette/issues/284#issuecomment-391766420 https://api.github.com/repos/simonw/datasette/issues/284 MDEyOklzc3VlQ29tbWVudDM5MTc2NjQyMA== simonw 9599 2018-05-24T15:54:33Z 2018-05-24T15:54:33Z OWNER

Maybe allow_sql, allow_facet and allow_download

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
Ability to enable/disable specific features via --config 326182814  
391765973 https://github.com/simonw/datasette/issues/284#issuecomment-391765973 https://api.github.com/repos/simonw/datasette/issues/284 MDEyOklzc3VlQ29tbWVudDM5MTc2NTk3Mw== simonw 9599 2018-05-24T15:53:08Z 2018-05-24T15:53:08Z OWNER

This will also give us a mechanism for turning on and off the cross-database joins feature from #283

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
Ability to enable/disable specific features via --config 326182814  
391765706 https://github.com/simonw/datasette/issues/284#issuecomment-391765706 https://api.github.com/repos/simonw/datasette/issues/284 MDEyOklzc3VlQ29tbWVudDM5MTc2NTcwNg== simonw 9599 2018-05-24T15:52:24Z 2018-05-24T15:52:24Z OWNER

I'm not crazy about the enable_ prefix on these.

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
Ability to enable/disable specific features via --config 326182814  

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