home / github

Menu
  • Search all tables
  • GraphQL API

issue_comments

Table actions
  • GraphQL API for issue_comments

6 rows where issue = 1067771698 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 2

  • simonw 5
  • eyeseast 1

author_association 2

  • OWNER 5
  • CONTRIBUTOR 1

issue 1

  • Command for creating an empty database · 6 ✖
id html_url issue_url node_id user created_at updated_at ▲ author_association body reactions issue performed_via_github_app
1011855133 https://github.com/simonw/sqlite-utils/issues/348#issuecomment-1011855133 https://api.github.com/repos/simonw/sqlite-utils/issues/348 IC_kwDOCGYnMM48T68d simonw 9599 2022-01-13T07:06:59Z 2022-01-13T07:06:59Z OWNER

Wrote a lot more about this feature here: https://simonwillison.net/2022/Jan/12/how-i-build-a-feature/

{
    "total_count": 3,
    "+1": 3,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
Command for creating an empty database 1067771698  
1008383293 https://github.com/simonw/sqlite-utils/issues/348#issuecomment-1008383293 https://api.github.com/repos/simonw/sqlite-utils/issues/348 IC_kwDOCGYnMM48GrU9 simonw 9599 2022-01-09T20:38:17Z 2022-01-09T20:38:17Z OWNER

Documentation: https://sqlite-utils.datasette.io/en/latest/cli.html#creating-an-empty-database

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
Command for creating an empty database 1067771698  
1008367607 https://github.com/simonw/sqlite-utils/issues/348#issuecomment-1008367607 https://api.github.com/repos/simonw/sqlite-utils/issues/348 IC_kwDOCGYnMM48Gnf3 simonw 9599 2022-01-09T20:22:43Z 2022-01-09T20:22:43Z OWNER

I'm not going to implement --page-size unless someone specifically requests it - I don't like having features that I've never needed to use myself.

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
Command for creating an empty database 1067771698  
983155079 https://github.com/simonw/sqlite-utils/issues/348#issuecomment-983155079 https://api.github.com/repos/simonw/sqlite-utils/issues/348 IC_kwDOCGYnMM46mcGH eyeseast 25778 2021-12-01T00:28:40Z 2021-12-01T00:28:40Z CONTRIBUTOR

I'd use this. Right now, I tend to do touch my.db and then enable-wal or whatever else, but I'm never sure if that's a bad idea.

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
Command for creating an empty database 1067771698  
983122733 https://github.com/simonw/sqlite-utils/issues/348#issuecomment-983122733 https://api.github.com/repos/simonw/sqlite-utils/issues/348 IC_kwDOCGYnMM46mUMt simonw 9599 2021-11-30T23:31:17Z 2021-11-30T23:31:17Z OWNER

Potential other options could include:

  • --page-size https://www.sqlite.org/pragma.html#pragma_page_size
{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
Command for creating an empty database 1067771698  
983120066 https://github.com/simonw/sqlite-utils/issues/348#issuecomment-983120066 https://api.github.com/repos/simonw/sqlite-utils/issues/348 IC_kwDOCGYnMM46mTjC simonw 9599 2021-11-30T23:25:52Z 2021-11-30T23:26:11Z OWNER

Maybe this:

sqlite-utils create-database my.db

With options that include --enable-wal (actually that's the only option I can think of).

This is consistent with the existing create-table and create-view commands.

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
Command for creating an empty database 1067771698  

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