issue_comments
2 rows where author_association = "OWNER", "created_at" is on date 2020-09-26 and issue = 709577625 sorted by updated_at descending
This data as json, CSV (advanced)
Suggested facets: created_at (date), updated_at (date)
issue 1
- sqlite-utils transform/insert --detect-types · 2 ✖
| id | html_url | issue_url | node_id | user | created_at | updated_at ▲ | author_association | body | reactions | issue | performed_via_github_app |
|---|---|---|---|---|---|---|---|---|---|---|---|
| 699524671 | https://github.com/simonw/sqlite-utils/issues/179#issuecomment-699524671 | https://api.github.com/repos/simonw/sqlite-utils/issues/179 | MDEyOklzc3VlQ29tbWVudDY5OTUyNDY3MQ== | simonw 9599 | 2020-09-26T17:31:23Z | 2020-09-27T20:31:50Z | OWNER | SQL query for detecting integers:
If everything in the column is an integer it will scan the whole thing before returning no rows. More extensive demo:
value | is_valid_int -- | -- | 1 | 1 1.1 | 0 dog | 0 |
{
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} |
sqlite-utils transform/insert --detect-types 709577625 | |
| 699526149 | https://github.com/simonw/sqlite-utils/issues/179#issuecomment-699526149 | https://api.github.com/repos/simonw/sqlite-utils/issues/179 | MDEyOklzc3VlQ29tbWVudDY5OTUyNjE0OQ== | simonw 9599 | 2020-09-26T17:43:28Z | 2020-09-26T17:43:28Z | OWNER | Posed a question about this on the SQLite forum here: https://sqlite.org/forum/forumpost/ab0dcd66ef |
{
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} |
sqlite-utils transform/insert --detect-types 709577625 |
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