home / github

Menu
  • GraphQL API

issue_comments

Table actions
  • GraphQL API for issue_comments

3 rows where issue = 397129564

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: reactions, created_at (date), updated_at (date)

id ▼ html_url issue_url node_id user created_at updated_at author_association body reactions issue performed_via_github_app
453251589 https://github.com/simonw/datasette/issues/397#issuecomment-453251589 https://api.github.com/repos/simonw/datasette/issues/397 MDEyOklzc3VlQ29tbWVudDQ1MzI1MTU4OQ== simonw 9599 2019-01-10T20:59:42Z 2019-01-10T20:59:42Z OWNER What version of SQLite are you seeing in Datasette? You can tell by hitting http://localhost:8001/-/versions - e.g. here: https://latest.datasette.io/-/versions My best guess is that your Python SQLite module is running an older version that doesn't support window functions. One way you can fix that is with the `pysqlite3` module - try running this in your virtual environment: pip install git+git://github.com/karlb/pysqlite3 That's using a fork of the official module that embeds a full recent SQLite. See this issue thread for more details: https://github.com/coleifer/pysqlite3/issues/2 {"total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0} Update official datasetteproject/datasette Docker container to SQLite 3.26.0 397129564  
453252024 https://github.com/simonw/datasette/issues/397#issuecomment-453252024 https://api.github.com/repos/simonw/datasette/issues/397 MDEyOklzc3VlQ29tbWVudDQ1MzI1MjAyNA== simonw 9599 2019-01-10T21:00:57Z 2019-01-10T21:00:57Z OWNER Oh I just saw you're using the official Datasette docker package - yeah, that's not bundled with a recent SQLite at the moment. We should update that: https://github.com/simonw/datasette/blob/5b026115126bedbb66457767e169139146d1c9fd/Dockerfile#L9-L11 {"total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0} Update official datasetteproject/datasette Docker container to SQLite 3.26.0 397129564  
453330680 https://github.com/simonw/datasette/issues/397#issuecomment-453330680 https://api.github.com/repos/simonw/datasette/issues/397 MDEyOklzc3VlQ29tbWVudDQ1MzMzMDY4MA== simonw 9599 2019-01-11T01:17:11Z 2019-01-11T01:25:33Z OWNER If you pull [the latest image](https://hub.docker.com/r/datasetteproject/datasette) you should get the right SQLite version now: docker pull datasetteproject/datasette docker run -p 8001:8001 \ datasetteproject/datasette \ datasette -p 8001 -h 0.0.0.0 http://0.0.0.0:8001/-/versions now gives me: ``` "version": "3.26.0" ``` {"total_count": 1, "+1": 1, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0} Update official datasetteproject/datasette Docker container to SQLite 3.26.0 397129564  

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 31.866ms · About: simonw/datasette-graphql