home / github

Menu
  • Search all tables
  • GraphQL API

issue_comments

Table actions
  • GraphQL API for issue_comments

3 rows where author_association = "CONTRIBUTOR" and issue = 1801394744 sorted by updated_at descending

✖
✖
✖

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: created_at (date), updated_at (date)

user 2

  • eyeseast 2
  • asg017 1

issue 1

  • Plugin system · 3 ✖

author_association 1

  • CONTRIBUTOR · 3 ✖
id html_url issue_url node_id user created_at updated_at ▲ author_association body reactions issue performed_via_github_app
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  
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  
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  

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 25.463ms · About: github-to-sqlite
  • Sort ascending
  • Sort descending
  • Facet by this
  • Hide this column
  • Show all columns
  • Show not-blank rows