issue_comments
4 rows where issue = 915421499 and user = 9599 sorted by updated_at descending
This data as json, CSV (advanced)
Suggested facets: created_at (date), updated_at (date)
issue 1
- row.update() or row.pk · 4 ✖
id | html_url | issue_url | node_id | user | created_at | updated_at ▲ | author_association | body | reactions | issue | performed_via_github_app |
---|---|---|---|---|---|---|---|---|---|---|---|
866184260 | https://github.com/simonw/sqlite-utils/issues/267#issuecomment-866184260 | https://api.github.com/repos/simonw/sqlite-utils/issues/267 | MDEyOklzc3VlQ29tbWVudDg2NjE4NDI2MA== | simonw 9599 | 2021-06-22T17:26:18Z | 2021-06-22T17:27:27Z | OWNER | If an |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
row.update() or row.pk 915421499 | |
866182655 | https://github.com/simonw/sqlite-utils/issues/267#issuecomment-866182655 | https://api.github.com/repos/simonw/sqlite-utils/issues/267 | MDEyOklzc3VlQ29tbWVudDg2NjE4MjY1NQ== | simonw 9599 | 2021-06-22T17:24:03Z | 2021-06-22T17:24:03Z | OWNER | I'm re-opening this as a research task because it may be possible to cleanly implement this using a Since this would just be for adding methods (and maybe a property for returning the primary keys for a row) the usual disadvantages of subclassing One catch: dictionaries already have a |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
row.update() or row.pk 915421499 | |
862494864 | https://github.com/simonw/sqlite-utils/issues/267#issuecomment-862494864 | https://api.github.com/repos/simonw/sqlite-utils/issues/267 | MDEyOklzc3VlQ29tbWVudDg2MjQ5NDg2NA== | simonw 9599 | 2021-06-16T15:51:28Z | 2021-06-16T16:26:15Z | OWNER | I did add a slightly clumsy mechanism recently to help a bit here though: the More details in the issue for that feature: #240 The idea here is that if you want to call update you need the primary key for the row - so you can do this:
|
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
row.update() or row.pk 915421499 | |
862493179 | https://github.com/simonw/sqlite-utils/issues/267#issuecomment-862493179 | https://api.github.com/repos/simonw/sqlite-utils/issues/267 | MDEyOklzc3VlQ29tbWVudDg2MjQ5MzE3OQ== | simonw 9599 | 2021-06-16T15:49:13Z | 2021-06-16T15:49:13Z | OWNER | The big challenge here is that the rows returned by this library aren't objects, they are Python dictionaries - so adding methods to them isn't possible without changing the type that is returned by these methods. Part of the philosophy of the library is that it should make it as easy as possible to round-trip between Python dictionaries and SQLite table data, so I don't think adding methods like this is going to fit. |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
row.update() or row.pk 915421499 |
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