home / github

Menu
  • GraphQL API

issue_comments

Table actions
  • GraphQL API for issue_comments

9 rows where issue = 1801394744

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: user, author_association, reactions, 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
1638910473 https://github.com/simonw/sqlite-utils/issues/567#issuecomment-1638910473 https://api.github.com/repos/simonw/sqlite-utils/issues/567 IC_kwDOCGYnMM5hr8oJ asg017 15178711 2023-07-17T21:27:41Z 2023-07-17T21:27:41Z CONTRIBUTOR Another use-case: I want to make a `sqlite-utils` plugin that'll help me insert data into Datasette. ```bash sqlite-utils insert-datasette \ --token $DATASETTE_API_KEY \ https://latest.datasette.io/fixtures/my-table \ 'select ...' ``` This could also be a datasette plugin (ex `datasette upload-data ...`, but you can also think of `sqlite-utils` plugins that upload to S3, a postgres table, other DBMS's, etc.) {"total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0} Plugin system 1801394744  
1638926655 https://github.com/simonw/sqlite-utils/issues/567#issuecomment-1638926655 https://api.github.com/repos/simonw/sqlite-utils/issues/567 IC_kwDOCGYnMM5hsAk_ simonw 9599 2023-07-17T21:42:37Z 2023-07-17T21:42:37Z OWNER I really like this. I'm also interested in: - Plugins that make new custom SQL functions available - similar to this Datasette hook: https://docs.datasette.io/en/stable/plugin_hooks.html#prepare-connection-conn-database-datasette - Plugins that register functions that can be used as recipes for `sqlite-utils convert` https://sqlite-utils.datasette.io/en/stable/cli.html#sqlite-utils-convert-recipes The upload-data-to-Datasette problem is planned to be solved by a future version of https://github.com/simonw/dclient {"total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0} Plugin system 1801394744  
1642808866 https://github.com/simonw/sqlite-utils/issues/567#issuecomment-1642808866 https://api.github.com/repos/simonw/sqlite-utils/issues/567 IC_kwDOCGYnMM5h60Yi eyeseast 25778 2023-07-19T21:54:27Z 2023-07-19T21:54:27Z CONTRIBUTOR Would this possibly make a bunch of `x-to-sqlite` tools obsolete? Or nudge some to become plugins? {"total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0} Plugin system 1801394744  
1646643379 https://github.com/simonw/sqlite-utils/issues/567#issuecomment-1646643379 https://api.github.com/repos/simonw/sqlite-utils/issues/567 IC_kwDOCGYnMM5iJciz simonw 9599 2023-07-22T18:16:54Z 2023-07-22T18:16:54Z OWNER > Would this possibly make a bunch of `x-to-sqlite` tools obsolete? Or nudge some to become plugins? Yeah, it could do! That's not a terrible idea to be honest, those things have really been proliferating. Alternatively, they could each register themselves as plugins in addition - so if you install e.g. `pocket-to-sqlite` you could then optionally also run it as `sqlite-utils pocket-to-sqlite ...` The benefit there is for people who install `sqlite-utils` from Homebrew, where it gets its own virtual environment. They could run: ```bash brew install sqlite-utils sqlite-utils install pocket-to-sqlite sqlite-utils pocket-to-sqlite ... ``` {"total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0} Plugin system 1801394744  
1646643450 https://github.com/simonw/sqlite-utils/issues/567#issuecomment-1646643450 https://api.github.com/repos/simonw/sqlite-utils/issues/567 IC_kwDOCGYnMM5iJcj6 simonw 9599 2023-07-22T18:17:18Z 2023-07-22T18:17:18Z OWNER I'm going to start by adding the `register_command` hook using the exact same pattern as Datasette and LLM. {"total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0} Plugin system 1801394744  
1646654383 https://github.com/simonw/sqlite-utils/issues/567#issuecomment-1646654383 https://api.github.com/repos/simonw/sqlite-utils/issues/567 IC_kwDOCGYnMM5iJfOv simonw 9599 2023-07-22T19:20:16Z 2023-07-22T19:20:16Z OWNER Here's documentation for the new plugins mechanism, including a very short tutorial on writing a new plugin (inspired by https://llm.datasette.io/en/stable/plugins/tutorial-model-plugin.html): https://sqlite-utils.datasette.io/en/latest/plugins.html {"total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0} Plugin system 1801394744  
1646656283 https://github.com/simonw/sqlite-utils/issues/567#issuecomment-1646656283 https://api.github.com/repos/simonw/sqlite-utils/issues/567 IC_kwDOCGYnMM5iJfsb eyeseast 25778 2023-07-22T19:32:24Z 2023-07-22T19:32:24Z CONTRIBUTOR Cool. I might try to add a geojson plugin that handles both input and output. That would help me out a lot. {"total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0} Plugin system 1801394744  
1646686424 https://github.com/simonw/sqlite-utils/issues/567#issuecomment-1646686424 https://api.github.com/repos/simonw/sqlite-utils/issues/567 IC_kwDOCGYnMM5iJnDY simonw 9599 2023-07-22T22:52:34Z 2023-07-22T22:52:34Z OWNER Splitting off an issue for `prepare_connection()` since Alex got the PR in seconds before I shipped 3.34! {"total_count": 1, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 1, "rocket": 0, "eyes": 0} Plugin system 1801394744  
1646687219 https://github.com/simonw/sqlite-utils/issues/567#issuecomment-1646687219 https://api.github.com/repos/simonw/sqlite-utils/issues/567 IC_kwDOCGYnMM5iJnPz simonw 9599 2023-07-22T22:59:36Z 2023-07-22T22:59:36Z OWNER Now that we have two plugin hooks I'm closing this issue (we can open other issues for further hooks). {"total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0} Plugin system 1801394744  

Advanced export

JSON shape: default, array, newline-delimited, object

CSV options:

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]);
Powered by Datasette · Queries took 21.148ms · About: simonw/datasette-graphql