home / github

Menu
  • Search all tables
  • GraphQL API

issue_comments

Table actions
  • GraphQL API for issue_comments

6 rows where "created_at" is on date 2023-05-21 and issue = 1718517882 sorted by updated_at descending

✖
✖
✖

✎ View and edit SQL

This data as json, CSV (advanced)

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

user 1

  • simonw 6

issue 1

  • Try out Trogon for a tui interface · 6 ✖

author_association 1

  • OWNER 6
id html_url issue_url node_id user created_at updated_at ▲ author_association body reactions issue performed_via_github_app
1556269616 https://github.com/simonw/sqlite-utils/issues/545#issuecomment-1556269616 https://api.github.com/repos/simonw/sqlite-utils/issues/545 IC_kwDOCGYnMM5cwsow simonw 9599 2023-05-21T19:33:13Z 2023-05-21T19:33:13Z OWNER

Now released: https://sqlite-utils.datasette.io/en/stable/changelog.html#v3-32

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
Try out Trogon for a tui interface 1718517882  
1556247818 https://github.com/simonw/sqlite-utils/issues/545#issuecomment-1556247818 https://api.github.com/repos/simonw/sqlite-utils/issues/545 IC_kwDOCGYnMM5cwnUK simonw 9599 2023-05-21T18:17:46Z 2023-05-21T18:17:46Z OWNER

Draft documentation: https://sqlite-utils--549.org.readthedocs.build/en/549/cli.html#cli-tui

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
Try out Trogon for a tui interface 1718517882  
1556210844 https://github.com/simonw/sqlite-utils/issues/545#issuecomment-1556210844 https://api.github.com/repos/simonw/sqlite-utils/issues/545 IC_kwDOCGYnMM5cweSc simonw 9599 2023-05-21T15:44:10Z 2023-05-21T15:44:10Z OWNER

It looks like nargs=-1 on a positional argument isn't yet supported - opened an issue here: - https://github.com/Textualize/trogon/issues/4

{
    "total_count": 1,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 1,
    "rocket": 0,
    "eyes": 0
}
Try out Trogon for a tui interface 1718517882  
1556191894 https://github.com/simonw/sqlite-utils/issues/545#issuecomment-1556191894 https://api.github.com/repos/simonw/sqlite-utils/issues/545 IC_kwDOCGYnMM5cwZqW simonw 9599 2023-05-21T14:20:14Z 2023-05-21T14:20:14Z OWNER

Opened a feature request for customizing the help and command name:

  • https://github.com/Textualize/trogon/issues/2
{
    "total_count": 2,
    "+1": 1,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 1,
    "rocket": 0,
    "eyes": 0
}
Try out Trogon for a tui interface 1718517882  
1556190531 https://github.com/simonw/sqlite-utils/issues/545#issuecomment-1556190531 https://api.github.com/repos/simonw/sqlite-utils/issues/545 IC_kwDOCGYnMM5cwZVD simonw 9599 2023-05-21T14:13:43Z 2023-05-21T14:13:43Z OWNER

OK, this works!

To try it out, install that branch from GitHub:

pip install https://github.com/simonw/sqlite-utils/archive/refs/heads/trogon.zip

Then run this:

sqlite-utils install trogon

And this:

sqlite-utils tui
{
    "total_count": 5,
    "+1": 2,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 3,
    "eyes": 0
}
Try out Trogon for a tui interface 1718517882  
1556189823 https://github.com/simonw/sqlite-utils/issues/545#issuecomment-1556189823 https://api.github.com/repos/simonw/sqlite-utils/issues/545 IC_kwDOCGYnMM5cwZJ_ simonw 9599 2023-05-21T14:09:59Z 2023-05-21T14:09:59Z OWNER

I don't want to add trogon as a default dependency because it's a little heavy - it pulls in all of Rich and Textual as well. People who use sqlite-utils just for its Python API won't benefit from this - it's a CLI feature only.

But I have a sqlite-utils install ... command for helping people to install packages into the same virtual environment as sqlite-utils no matter how they installed that tool: https://sqlite-utils.datasette.io/en/stable/cli.html#cli-install

So I can treat Trogon as an optional dependency and add the sqlite-utils tui command only if that package is also installed.

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
Try out Trogon for a tui interface 1718517882  

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