home / github / issues

Menu
  • Search all tables
  • GraphQL API

issues: 317900587

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
317900587 MDU6SXNzdWUzMTc5MDA1ODc= 240 FTS table detection should be part of .inspect() 9599 closed 0     0 2018-04-26T06:58:10Z 2018-04-29T00:04:44Z 2018-04-29T00:04:44Z OWNER  

The code that detects if specific tables have a corresponding FTS column is currently called from TableView - it should instead be handled as part of .inspect(). This will make it easier to build other features that need to behave differently depending on whether a table can be searched, e.g. an autocomplete widget for selecting filters from foreign key tables.

Current code:

https://github.com/simonw/datasette/blob/f188ceaa2a3a5b2eab83425ad0f00cb0d364e24a/datasette/app.py#L728-L733

107914493 issue    
{
    "url": "https://api.github.com/repos/simonw/datasette/issues/240/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

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