home / github

Menu
  • Search all tables
  • GraphQL API

issue_comments

Table actions
  • GraphQL API for issue_comments

5 rows where issue = 1368030952 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

  • simonw 4
  • ocdtrekkie 1

author_association 2

  • OWNER 4
  • NONE 1

issue 1

  • Database() constructor currently defaults is_mutable to False · 5 ✖
id html_url issue_url node_id user created_at updated_at ▲ author_association body reactions issue performed_via_github_app
1242203798 https://github.com/simonw/datasette/issues/1808#issuecomment-1242203798 https://api.github.com/repos/simonw/datasette/issues/1808 IC_kwDOBm6k_c5KCoaW simonw 9599 2022-09-09T16:36:23Z 2022-09-09T16:37:57Z OWNER

Yes, it should do - actually this fix to datasette-upload-dbs should sort that out even if you don't upgrade to the (unreleased) latest Datasette: - https://github.com/simonw/datasette-upload-dbs/issues/6

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
Database() constructor currently defaults is_mutable to False 1368030952  
1242204717 https://github.com/simonw/datasette/issues/1808#issuecomment-1242204717 https://api.github.com/repos/simonw/datasette/issues/1808 IC_kwDOBm6k_c5KCoot simonw 9599 2022-09-09T16:37:12Z 2022-09-09T16:37:12Z OWNER

Updated documentation: https://docs.datasette.io/en/latest/internals.html#database-ds-path-none-is-mutable-true-is-memory-false-memory-name-none

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
Database() constructor currently defaults is_mutable to False 1368030952  
1242187519 https://github.com/simonw/datasette/issues/1808#issuecomment-1242187519 https://api.github.com/repos/simonw/datasette/issues/1808 IC_kwDOBm6k_c5KCkb_ ocdtrekkie 4399499 2022-09-09T16:22:19Z 2022-09-09T16:22:19Z NONE

@simonw Will upload_csvs treat that as a database it can import to if you set it as mutable?

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
Database() constructor currently defaults is_mutable to False 1368030952  
1242181891 https://github.com/simonw/datasette/issues/1808#issuecomment-1242181891 https://api.github.com/repos/simonw/datasette/issues/1808 IC_kwDOBm6k_c5KCjED simonw 9599 2022-09-09T16:18:54Z 2022-09-09T16:18:54Z OWNER

Weirdly _memory was being treated as immutable too - which doesn't really make sense, since it's not a file on disk that can be opened in immutable mode. Fixing that too.

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
Database() constructor currently defaults is_mutable to False 1368030952  
1242164484 https://github.com/simonw/datasette/issues/1808#issuecomment-1242164484 https://api.github.com/repos/simonw/datasette/issues/1808 IC_kwDOBm6k_c5KCe0E simonw 9599 2022-09-09T16:03:36Z 2022-09-09T16:05:08Z OWNER

Fixing this is technically a breaking change, but to my knowledge there are VERY few plugins out there that use this particular API directly - and I would be extremely surprised if any of them actually relied on it using this default.

(Good thing I've not shipped 1.0 yet though!)

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
Database() constructor currently defaults is_mutable to False 1368030952  

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