home / github / issues

Menu
  • Search all tables
  • GraphQL API

issues: 849978964

This data as json

id node_id number title user state locked assignee milestone comments created_at updated_at closed_at author_association pull_request body repo type active_lock_reason performed_via_github_app reactions draft state_reason
849978964 MDU6SXNzdWU4NDk5Nzg5NjQ= 1293 Show column metadata plus links for foreign keys on arbitrary query results 9599 open 0     51 2021-04-04T22:59:42Z 2022-09-02T17:34:09Z   OWNER  

Related to #620. It would be really cool if Datasette could magically detect the source of the data displayed in an arbitrary query and, if that data represents a foreign key, display it as a hyperlink.

Compare https://latest.datasette.io/fixtures/facetable

To https://latest.datasette.io/fixtures?sql=select+pk%2C+created%2C+planet_int%2C+on_earth%2C+state%2C+city_id%2C+neighborhood%2C+tags%2C+complex_array%2C+distinct_some_null+from+facetable+order+by+pk+limit+101

107914493 issue    
{
    "url": "https://api.github.com/repos/simonw/datasette/issues/1293/reactions",
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  reopened

Links from other tables

  • 1 row from issues_id in issues_labels
  • 51 rows from issue in issue_comments
Powered by Datasette · Queries took 0.943ms · About: github-to-sqlite