home / github

Menu
  • GraphQL API

issue_comments

Table actions
  • GraphQL API for issue_comments

3 rows where issue = 512218858

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: 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
546134055 https://github.com/simonw/datasette/issues/606#issuecomment-546134055 https://api.github.com/repos/simonw/datasette/issues/606 MDEyOklzc3VlQ29tbWVudDU0NjEzNDA1NQ== simonw 9599 2019-10-24T22:53:30Z 2019-10-24T22:53:30Z OWNER Here's a clue as to where to get it from: ``` In [20]: mod, dist = pm.list_plugin_distinfo()[0] In [21]: print(str(dist.metadata)) Metadata-Version: 2.1 Name: datasette-haversine Version: 0.1 Summary: Datasette plugin that adds a custom SQL function for haversine distances Home-page: https://github.com/simonw/datasette-haversine Author: Simon Willison License: Apache License, Version 2.0 Platform: UNKNOWN Description-Content-Type: text/markdown Requires-Dist: datasette Requires-Dist: haversine Provides-Extra: test Requires-Dist: pytest ; extra == 'test' # datasette-haversine [![PyPI](https://img.shields.io/pypi/v/datasette-haversine.svg)](https://pypi.org/project/datasette-haversine/) [![CircleCI](https://circleci.com/gh/simonw/datasette-haversine.svg?style=svg)](https://circleci.com/gh/simonw/datasette-haversine) [![License](https://img.shields.io/badge/license-Apache%202.0-blue.svg)](https://github.com/simonw/datasette-haversine/blob/master/LICENSE) Datasette plugin that adds a custom SQL function for haversine distances ``` {"total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0} /-/plugins shows incorrect name for plugins 512218858  
546134302 https://github.com/simonw/datasette/issues/606#issuecomment-546134302 https://api.github.com/repos/simonw/datasette/issues/606 MDEyOklzc3VlQ29tbWVudDU0NjEzNDMwMg== simonw 9599 2019-10-24T22:54:39Z 2019-10-24T22:54:39Z OWNER Actually this is better: ``` In [26]: dist.project_name Out[26]: 'datasette-haversine' ``` {"total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0} /-/plugins shows incorrect name for plugins 512218858  
548673320 https://github.com/simonw/datasette/issues/606#issuecomment-548673320 https://api.github.com/repos/simonw/datasette/issues/606 MDEyOklzc3VlQ29tbWVudDU0ODY3MzMyMA== simonw 9599 2019-11-01T05:41:03Z 2019-11-01T05:41:03Z OWNER Couldn't easily write a test for this as plugin tests don't currently work against packaged plugins. Here's the new `datasette plugins` output: ``` $ datasette plugins [ { "name": "datasette-cluster-map", "static": true, "templates": false, "version": "0.6" }, { "name": "datasette-json-html", "static": false, "templates": false, "version": "0.5" }, { "name": "datasette-vega", "static": true, "templates": false, "version": "0.6.2" } ] ``` Same output from `/-/plugins` {"total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0} /-/plugins shows incorrect name for plugins 512218858  

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