home / github

Menu
  • Search all tables
  • GraphQL API

issue_comments

Table actions
  • GraphQL API for issue_comments

3 rows where issue = 924748955 and user = 813732 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

  • glasnt · 3 ✖

issue 1

  • Serve all db files in a folder · 3 ✖

author_association 1

  • CONTRIBUTOR 3
id html_url issue_url node_id user created_at updated_at ▲ author_association body reactions issue performed_via_github_app
967747190 https://github.com/simonw/datasette/issues/1380#issuecomment-967747190 https://api.github.com/repos/simonw/datasette/issues/1380 IC_kwDOBm6k_c45rqZ2 glasnt 813732 2021-11-13T00:47:26Z 2021-11-13T00:47:26Z CONTRIBUTOR

Would it make sense to run datasette with a fswatch/inotifywait on a folder, then?

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
Serve all db files in a folder 924748955  
953366110 https://github.com/simonw/datasette/issues/1380#issuecomment-953366110 https://api.github.com/repos/simonw/datasette/issues/1380 IC_kwDOBm6k_c440zZe glasnt 813732 2021-10-27T22:48:55Z 2021-10-27T22:48:55Z CONTRIBUTOR

It looks like if the files argument is a directory, config_dir is set, but files in that folder are only loaded into self.files at the Datasette class initialisation.

I tried seeing if I could get --reload to work, but I'm getting issues trying to use that command when specifying a directory, as the command serve ends up in the files list(?):

datasette serve . --reload Error: Invalid value for '[FILES]...': Path 'serve' does not exist.

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
Serve all db files in a folder 924748955  
953334718 https://github.com/simonw/datasette/issues/1380#issuecomment-953334718 https://api.github.com/repos/simonw/datasette/issues/1380 IC_kwDOBm6k_c440ru- glasnt 813732 2021-10-27T21:45:04Z 2021-10-27T21:45:04Z CONTRIBUTOR

I am also getting this issue, using the currently most recent version of datasette

$ datasette --version datasette, version 0.59.1

If I run datasette within just a folder of files,

$ datasette serve .

Adding new files while datasette is running shows no new files, and removing files causes datasette to return 500 errors.

home Error 500 [Errno 2] No such file or directory: 'mydatabase.db' Powered by Datasette

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
Serve all db files in a folder 924748955  

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