issue_comments
18 rows where "updated_at" is on date 2019-06-13 sorted by updated_at descending
This data as json, CSV (advanced)
Suggested facets: 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 |
---|---|---|---|---|---|---|---|---|---|---|---|
501903071 | https://github.com/simonw/datasette/issues/498#issuecomment-501903071 | https://api.github.com/repos/simonw/datasette/issues/498 | MDEyOklzc3VlQ29tbWVudDUwMTkwMzA3MQ== | chrismp 7936571 | 2019-06-13T22:35:06Z | 2019-06-13T22:35:06Z | NONE | I'd like to start working on this. I've made a custom template for Can I make additional custom Python scripts for this or must I edit datasette's files directly? |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
Full text search of all tables at once? 451513541 | |
501541902 | https://github.com/simonw/sqlite-utils/issues/26#issuecomment-501541902 | https://api.github.com/repos/simonw/sqlite-utils/issues/26 | MDEyOklzc3VlQ29tbWVudDUwMTU0MTkwMg== | simonw 9599 | 2019-06-13T04:15:22Z | 2019-06-13T16:55:42Z | OWNER | So maybe something like this:
|
{ "total_count": 1, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 1, "rocket": 0, "eyes": 0 } |
Mechanism for turning nested JSON into foreign keys / many-to-many 455486286 | |
501572149 | https://github.com/simonw/sqlite-utils/issues/24#issuecomment-501572149 | https://api.github.com/repos/simonw/sqlite-utils/issues/24 | MDEyOklzc3VlQ29tbWVudDUwMTU3MjE0OQ== | simonw 9599 | 2019-06-13T06:47:17Z | 2019-06-13T06:47:17Z | OWNER | @IgnoredAmbience this is now shipped in sqlite-utils 1.2 - documentation here: |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
Additional Column Constraints? 449818897 | |
501548676 | https://github.com/simonw/sqlite-utils/issues/25#issuecomment-501548676 | https://api.github.com/repos/simonw/sqlite-utils/issues/25 | MDEyOklzc3VlQ29tbWVudDUwMTU0ODY3Ng== | simonw 9599 | 2019-06-13T04:58:12Z | 2019-06-13T04:58:12Z | OWNER | I'm going to reuse the |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
Allow .insert(..., foreign_keys=()) to auto-detect table and primary key 449848803 | |
501548097 | https://github.com/simonw/sqlite-utils/issues/25#issuecomment-501548097 | https://api.github.com/repos/simonw/sqlite-utils/issues/25 | MDEyOklzc3VlQ29tbWVudDUwMTU0ODA5Nw== | simonw 9599 | 2019-06-13T04:54:33Z | 2019-06-13T04:54:33Z | OWNER | Still need to add this mechanism to |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
Allow .insert(..., foreign_keys=()) to auto-detect table and primary key 449848803 | |
501543688 | https://github.com/simonw/sqlite-utils/issues/26#issuecomment-501543688 | https://api.github.com/repos/simonw/sqlite-utils/issues/26 | MDEyOklzc3VlQ29tbWVudDUwMTU0MzY4OA== | simonw 9599 | 2019-06-13T04:26:15Z | 2019-06-13T04:26:15Z | OWNER | I may ignore
|
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
Mechanism for turning nested JSON into foreign keys / many-to-many 455486286 | |
501542025 | https://github.com/simonw/sqlite-utils/issues/26#issuecomment-501542025 | https://api.github.com/repos/simonw/sqlite-utils/issues/26 | MDEyOklzc3VlQ29tbWVudDUwMTU0MjAyNQ== | simonw 9599 | 2019-06-13T04:16:10Z | 2019-06-13T04:16:42Z | OWNER | So for If we find an array (as opposed to a direct nested object) at the end of the dotted path we do a m2m table. And if |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
Mechanism for turning nested JSON into foreign keys / many-to-many 455486286 | |
501539452 | https://github.com/simonw/sqlite-utils/issues/26#issuecomment-501539452 | https://api.github.com/repos/simonw/sqlite-utils/issues/26 | MDEyOklzc3VlQ29tbWVudDUwMTUzOTQ1Mg== | simonw 9599 | 2019-06-13T03:59:32Z | 2019-06-13T03:59:32Z | OWNER | Another complexity from the https://api.github.com/repos/simonw/datasette/pulls example: We don't actually want
So the nested So perhaps we need a flatten-nested-into-columns mechanism which can be used in conjunction with a extract-to-tables mechanism. |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
Mechanism for turning nested JSON into foreign keys / many-to-many 455486286 | |
501538100 | https://github.com/simonw/sqlite-utils/issues/26#issuecomment-501538100 | https://api.github.com/repos/simonw/sqlite-utils/issues/26 | MDEyOklzc3VlQ29tbWVudDUwMTUzODEwMA== | simonw 9599 | 2019-06-13T03:51:27Z | 2019-06-13T03:51:27Z | OWNER | I like the term "extract" for what we are doing here, partly because that's the terminology I used in |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
Mechanism for turning nested JSON into foreign keys / many-to-many 455486286 | |
501537812 | https://github.com/simonw/sqlite-utils/issues/26#issuecomment-501537812 | https://api.github.com/repos/simonw/sqlite-utils/issues/26 | MDEyOklzc3VlQ29tbWVudDUwMTUzNzgxMg== | simonw 9599 | 2019-06-13T03:49:37Z | 2019-06-13T03:50:39Z | OWNER | There's an interesting difference here between nested objects with a primary-key style ID and nested objects without. If a nested object does not have a primary key, we could still shift it out to another table but it would need to be in a context where it has an automatic foreign key back to our current record. A good example of something where that would be useful is the
These could either be inserted into an |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
Mechanism for turning nested JSON into foreign keys / many-to-many 455486286 | |
501536495 | https://github.com/simonw/sqlite-utils/issues/26#issuecomment-501536495 | https://api.github.com/repos/simonw/sqlite-utils/issues/26 | MDEyOklzc3VlQ29tbWVudDUwMTUzNjQ5NQ== | simonw 9599 | 2019-06-13T03:40:21Z | 2019-06-13T03:40:21Z | OWNER | I think I can do something here with a very simple |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
Mechanism for turning nested JSON into foreign keys / many-to-many 455486286 | |
501517535 | https://github.com/simonw/sqlite-utils/issues/25#issuecomment-501517535 | https://api.github.com/repos/simonw/sqlite-utils/issues/25 | MDEyOklzc3VlQ29tbWVudDUwMTUxNzUzNQ== | simonw 9599 | 2019-06-13T01:50:34Z | 2019-06-13T01:50:34Z | OWNER | If I'm going to do this then I should make the |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
Allow .insert(..., foreign_keys=()) to auto-detect table and primary key 449848803 | |
501516797 | https://github.com/simonw/sqlite-utils/issues/25#issuecomment-501516797 | https://api.github.com/repos/simonw/sqlite-utils/issues/25 | MDEyOklzc3VlQ29tbWVudDUwMTUxNjc5Nw== | simonw 9599 | 2019-06-13T01:46:36Z | 2019-06-13T01:47:35Z | OWNER | Maybe Rules:
* If the column name ends in If none of these rules match, raise an error. So the above example could be further simplified to:
|
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
Allow .insert(..., foreign_keys=()) to auto-detect table and primary key 449848803 | |
501516028 | https://github.com/simonw/sqlite-utils/issues/24#issuecomment-501516028 | https://api.github.com/repos/simonw/sqlite-utils/issues/24 | MDEyOklzc3VlQ29tbWVudDUwMTUxNjAyOA== | simonw 9599 | 2019-06-13T01:42:36Z | 2019-06-13T01:42:36Z | OWNER | Maybe it's time to create a |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
Additional Column Constraints? 449818897 | |
501515609 | https://github.com/simonw/sqlite-utils/issues/24#issuecomment-501515609 | https://api.github.com/repos/simonw/sqlite-utils/issues/24 | MDEyOklzc3VlQ29tbWVudDUwMTUxNTYwOQ== | simonw 9599 | 2019-06-13T01:40:12Z | 2019-06-13T01:40:47Z | OWNER | But what to do for creating a table? For the Python function I could do this:
The CLI tool only every creates tables as a side-effect of a |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
Additional Column Constraints? 449818897 | |
501514575 | https://github.com/simonw/sqlite-utils/issues/24#issuecomment-501514575 | https://api.github.com/repos/simonw/sqlite-utils/issues/24 | MDEyOklzc3VlQ29tbWVudDUwMTUxNDU3NQ== | simonw 9599 | 2019-06-13T01:34:55Z | 2019-06-13T01:34:55Z | OWNER | Since you can't have one without the other, I'm going with |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
Additional Column Constraints? 449818897 | |
501509642 | https://github.com/simonw/sqlite-utils/issues/24#issuecomment-501509642 | https://api.github.com/repos/simonw/sqlite-utils/issues/24 | MDEyOklzc3VlQ29tbWVudDUwMTUwOTY0Mg== | simonw 9599 | 2019-06-13T01:06:09Z | 2019-06-13T01:06:09Z | OWNER | Hmm... we need the ability to pass If you attempt to add
|
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
Additional Column Constraints? 449818897 | |
501508302 | https://github.com/simonw/sqlite-utils/issues/26#issuecomment-501508302 | https://api.github.com/repos/simonw/sqlite-utils/issues/26 | MDEyOklzc3VlQ29tbWVudDUwMTUwODMwMg== | simonw 9599 | 2019-06-13T00:57:52Z | 2019-06-13T00:57:52Z | OWNER | Two challenges here:
Here we have Ideally our mechanism for specifying which table things should be pulled out into would handle this, but it's getting a bit complicated. |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
Mechanism for turning nested JSON into foreign keys / many-to-many 455486286 |
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]);
issue 4