home / github

Menu
  • GraphQL API

issue_comments

Table actions
  • GraphQL API for issue_comments

3 rows where user = 7094907

✎ View and edit SQL

This data as json, CSV (advanced)

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

id ▼ html_url issue_url node_id user created_at updated_at author_association body reactions issue performed_via_github_app
967181828 https://github.com/simonw/datasette/issues/1380#issuecomment-967181828 https://api.github.com/repos/simonw/datasette/issues/1380 IC_kwDOBm6k_c45pgYE Segerberg 7094907 2021-11-12T15:00:18Z 2021-11-12T20:02:29Z NONE There is no such option see https://github.com/simonw/datasette/issues/43. But you could write a plugin using the datasette.add_database(db, name=None) https://docs.datasette.io/en/stable/internals.html#add-database-db-name-none {"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  
967801997 https://github.com/simonw/datasette/issues/1380#issuecomment-967801997 https://api.github.com/repos/simonw/datasette/issues/1380 IC_kwDOBm6k_c45r3yN Segerberg 7094907 2021-11-13T08:05:37Z 2021-11-13T08:09:11Z NONE @glasnt yeah I guess that could be an option. I run datasette on large databases > 75gb and the startup time is a bit slow for me even with -i --inspect-file options. Here's a quick sketch for a plugin that will reload db's in a folder that you set for the plugin in metadata.json. If you request /-reload-db new db's will be added. (You probably want to implement some authentication for this =) ) https://gist.github.com/Segerberg/b96a0e0a5389dce2396497323cda7042 {"total_count": 1, "+1": 0, "-1": 0, "laugh": 0, "hooray": 1, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0} Serve all db files in a folder 924748955  
970188065 https://github.com/simonw/datasette/issues/1505#issuecomment-970188065 https://api.github.com/repos/simonw/datasette/issues/1505 IC_kwDOBm6k_c450-Uh Segerberg 7094907 2021-11-16T11:40:52Z 2021-11-16T11:40:52Z NONE A suggestion is to have the option to choose an arbitrary delimiter (and quoting characters ) {"total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0} Datasette should have an option to output CSV with semicolons 1052247023  

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 19.335ms · About: simonw/datasette-graphql