home / github

Menu
  • Search all tables
  • GraphQL API

issue_comments

Table actions
  • GraphQL API for issue_comments

3 rows where user = 50138 sorted by updated_at descending

✖
✖

✎ View and edit SQL

This data as json, CSV (advanced)

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

issue 2

  • Option to open readonly but not immutable 2
  • datasette publish can fail if /tmp is on a different device 1

user 1

  • janimo · 3 ✖

author_association 1

  • NONE 3
id html_url issue_url node_id user created_at updated_at ▲ author_association body reactions issue performed_via_github_app
347123991 https://github.com/simonw/datasette/issues/124#issuecomment-347123991 https://api.github.com/repos/simonw/datasette/issues/124 MDEyOklzc3VlQ29tbWVudDM0NzEyMzk5MQ== janimo 50138 2017-11-27T09:25:15Z 2017-11-27T09:25:15Z NONE

That's the only reference to immutable I saw as well, making me think that there may be no perceivable advantages over simply using mode=ro. Since the database is never or seldom updated the change notifications should not impact performance.

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
Option to open readonly but not immutable 275125805  
346987395 https://github.com/simonw/datasette/issues/124#issuecomment-346987395 https://api.github.com/repos/simonw/datasette/issues/124 MDEyOklzc3VlQ29tbWVudDM0Njk4NzM5NQ== janimo 50138 2017-11-26T06:24:08Z 2017-11-26T06:24:08Z NONE

Are there performance gains when using immutable as opposed to read-only? From what I see other processes can still modify the DB when immutable, but there are no change notifications.

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
Option to open readonly but not immutable 275125805  
346974336 https://github.com/simonw/datasette/issues/141#issuecomment-346974336 https://api.github.com/repos/simonw/datasette/issues/141 MDEyOklzc3VlQ29tbWVudDM0Njk3NDMzNg== janimo 50138 2017-11-26T00:00:35Z 2017-11-26T00:00:35Z NONE

FWIW I worked around this by setting TMPDIR to ~/tmp before running the command.

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
datasette publish can fail if /tmp is on a different device 275814941  

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