home / github / issues

Menu
  • Search all tables
  • GraphQL API

issues: 316526433

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
316526433 MDU6SXNzdWUzMTY1MjY0MzM= 234 label_column option in metadata.json 9599 closed 0     3 2018-04-21T21:19:08Z 2018-04-22T20:47:12Z 2018-04-22T20:47:12Z OWNER  

Currently the column used for displaying a foreign key relationship is automatically detected by inspect() by looking for tables that have a primary key column and one other column.

This doesn't work for tables with more than two columns.

Let's allow the table section in metadata.json to optionally define a label_column which, if present, will be used for those displays.

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

Links from other tables

  • 0 rows from issues_id in issues_labels
  • 3 rows from issue in issue_comments
Powered by Datasette · Queries took 1.16ms · About: github-to-sqlite