home / github

Menu
  • Search all tables
  • GraphQL API

issue_comments

Table actions
  • GraphQL API for issue_comments

3 rows where issue = 666040390 and user = 9599 sorted by updated_at descending

✖
✖
✖

✎ View and edit SQL

This data as json, CSV (advanced)

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

user 1

  • simonw · 3 ✖

issue 1

  • Ability to insert files piped to insert-files stdin · 3 ✖

author_association 1

  • OWNER 3
id html_url issue_url node_id user created_at updated_at ▲ author_association body reactions issue performed_via_github_app
666063689 https://github.com/simonw/sqlite-utils/issues/127#issuecomment-666063689 https://api.github.com/repos/simonw/sqlite-utils/issues/127 MDEyOklzc3VlQ29tbWVudDY2NjA2MzY4OQ== simonw 9599 2020-07-30T03:08:51Z 2020-07-30T03:08:51Z OWNER

Documentation at the bottom of this section: https://github.com/simonw/sqlite-utils/blob/8fe1e6d1be021aeeb8f08b0f77f03b75a83b6f75/docs/cli.rst#inserting-binary-data-from-files

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
Ability to insert files piped to insert-files stdin 666040390  
666047928 https://github.com/simonw/sqlite-utils/issues/127#issuecomment-666047928 https://api.github.com/repos/simonw/sqlite-utils/issues/127 MDEyOklzc3VlQ29tbWVudDY2NjA0NzkyOA== simonw 9599 2020-07-30T02:31:05Z 2020-07-30T02:31:05Z OWNER

Maybe could do this using an improved version of this lambda? Could teach it to look for - and read from sys.stdin if it sees it.

https://github.com/simonw/sqlite-utils/blob/710454d72aed5094573e642344fd075a0ef5372c/sqlite_utils/cli.py#L839

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
Ability to insert files piped to insert-files stdin 666040390  
664163206 https://github.com/simonw/sqlite-utils/issues/127#issuecomment-664163206 https://api.github.com/repos/simonw/sqlite-utils/issues/127 MDEyOklzc3VlQ29tbWVudDY2NDE2MzIwNg== simonw 9599 2020-07-27T07:10:05Z 2020-07-27T07:10:05Z OWNER

I tried to get this working but it was a bit tricky because - doesn't behave like a regular pathlib.Path - needs a bit more thought on how the implementation would work.

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
Ability to insert files piped to insert-files stdin 666040390  

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