issue_comments
4 rows where issue = 665817570 sorted by updated_at descending
This data as json, CSV (advanced)
Suggested facets: created_at (date), updated_at (date)
issue 1
- Output binary columns in "sqlite-utils query" JSON · 4 ✖
id | html_url | issue_url | node_id | user | created_at | updated_at ▲ | author_association | body | reactions | issue | performed_via_github_app |
---|---|---|---|---|---|---|---|---|---|---|---|
664065341 | https://github.com/simonw/sqlite-utils/issues/125#issuecomment-664065341 | https://api.github.com/repos/simonw/sqlite-utils/issues/125 | MDEyOklzc3VlQ29tbWVudDY2NDA2NTM0MQ== | simonw 9599 | 2020-07-27T00:49:41Z | 2020-07-27T00:49:41Z | OWNER | { "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
Output binary columns in "sqlite-utils query" JSON 665817570 | ||
664062546 | https://github.com/simonw/sqlite-utils/issues/125#issuecomment-664062546 | https://api.github.com/repos/simonw/sqlite-utils/issues/125 | MDEyOklzc3VlQ29tbWVudDY2NDA2MjU0Ng== | simonw 9599 | 2020-07-27T00:33:03Z | 2020-07-27T00:33:03Z | OWNER | I'm going to imitate how Datasette solves this problem:
|
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
Output binary columns in "sqlite-utils query" JSON 665817570 | |
664012247 | https://github.com/simonw/sqlite-utils/issues/125#issuecomment-664012247 | https://api.github.com/repos/simonw/sqlite-utils/issues/125 | MDEyOklzc3VlQ29tbWVudDY2NDAxMjI0Nw== | simonw 9599 | 2020-07-26T16:48:46Z | 2020-07-26T16:48:46Z | OWNER | I could solve round tripping (at least a bit) by allowing insert to be run with a flag that says "these columns are base64 encoded, store the decoded data in a BLOB". That would solve inserting binary data using JSON too. |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
Output binary columns in "sqlite-utils query" JSON 665817570 | |
664012148 | https://github.com/simonw/sqlite-utils/issues/125#issuecomment-664012148 | https://api.github.com/repos/simonw/sqlite-utils/issues/125 | MDEyOklzc3VlQ29tbWVudDY2NDAxMjE0OA== | simonw 9599 | 2020-07-26T16:47:51Z | 2020-07-26T16:47:51Z | OWNER | Best solution I can think of is to return the data as base64. It's a bit nasty since it means you can't round trip it back again. |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
Output binary columns in "sqlite-utils query" JSON 665817570 |
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