issue_comments
2 rows where "created_at" is on date 2019-05-11, issue = 435531034 and reactions = "{"total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0}" sorted by updated_at descending
This data as json, CSV (advanced)
Suggested facets: created_at (date), updated_at (date)
issue 1
- Tracing support for seeing what SQL queries were executed · 2 ✖
id | html_url | issue_url | node_id | user | created_at | updated_at ▲ | author_association | body | reactions | issue | performed_via_github_app |
---|---|---|---|---|---|---|---|---|---|---|---|
491541721 | https://github.com/simonw/datasette/issues/435#issuecomment-491541721 | https://api.github.com/repos/simonw/datasette/issues/435 | MDEyOklzc3VlQ29tbWVudDQ5MTU0MTcyMQ== | simonw 9599 | 2019-05-11T20:32:21Z | 2019-05-11T20:32:21Z | OWNER | Demo of the finished feature: https://latest.datasette.io/fixtures/facetable?_trace=1 |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
Tracing support for seeing what SQL queries were executed 435531034 | |
491534162 | https://github.com/simonw/datasette/issues/435#issuecomment-491534162 | https://api.github.com/repos/simonw/datasette/issues/435 | MDEyOklzc3VlQ29tbWVudDQ5MTUzNDE2Mg== | simonw 9599 | 2019-05-11T18:33:02Z | 2019-05-11T18:36:33Z | OWNER | I don't like the shape of the JSON:
I want this instead: ``` "_traces": { "num_traces": 20, "sum_duration_ms": 0.015190839767456055, "traces": [ { "type": "sql", "database": "fixtures", "sql": "select 1 from sqlite_master where type='table' and name=?", "args": ["facetable.json"], "start": 1557599406.7231224, "end": 1557599406.723611, "duration_ms": 0.4887580871582031 } |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
Tracing support for seeing what SQL queries were executed 435531034 |
Advanced export
JSON shape: default, array, newline-delimited, object
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]);
user 1