home / github / issues

Menu
  • Search all tables
  • GraphQL API

issues: 505512251

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
505512251 MDU6SXNzdWU1MDU1MTIyNTE= 588 Queries per DB table in metadata.json 12617395 closed 0     3 2019-10-10T21:08:19Z 2019-10-21T12:58:22Z 2019-10-21T01:48:42Z NONE  

It doesn't appear possible to have separate queries defined per database table. When I do something like below, my table descriptions show up but not the queries:

"databases": { "MYDB": { "tables": { "MYFIRSTTABLE": { "source": "Test", "source_url": "https://www.google.com", "queries": { "Query 1": { "sql": "select * from MYFIRSTTABLE", "title": "Query 1", "description": "This is the first query" }, } }, "MYSECONDTABLE": { "source":"Test2", "source_url":"https://www.google.com", "queries": { "Query 2" : { "sql":"select * from MYSECONDTABLE;", "title": "Query 2", "description":"This is the second query" } } } }

107914493 issue    
{
    "url": "https://api.github.com/repos/simonw/datasette/issues/588/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.113ms · About: github-to-sqlite