home / github / issue_comments

Menu
  • Search all tables
  • GraphQL API

issue_comments: 625003013

This data as json

html_url issue_url id node_id user created_at updated_at author_association body reactions issue performed_via_github_app
https://github.com/simonw/datasette/issues/761#issuecomment-625003013 https://api.github.com/repos/simonw/datasette/issues/761 625003013 MDEyOklzc3VlQ29tbWVudDYyNTAwMzAxMw== 9599 2020-05-07T03:07:55Z 2020-05-07T03:09:05Z OWNER

Here's another demo I built using this feature: https://observablehq.com/@simonw/datasette-table-diagram

Running on this query:

sql select sqlite_master.name as table_from, fk_info.[from] as column_from, fk_info.[table] as table_to, fk_info.[to] as column_to from sqlite_master join pragma_foreign_key_list(sqlite_master.name) as fk_info order by sqlite_master.name See https://github-to-sqlite.dogsheep.net/github?sql=select%0D%0A++sqlite_master.name+as+table_from%2C%0D%0A++fk_info.%5Bfrom%5D+as+column_from%2C%0D%0A++fk_info.%5Btable%5D+as+table_to%2C%0D%0A++fk_info.%5Bto%5D+as+column_to%0D%0Afrom%0D%0A++sqlite_master%0D%0A++join+pragma_foreign_key_list%28sqlite_master.name%29+as+fk_info%0D%0Aorder+by%0D%0A++sqlite_master.name

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
613467382  
Powered by Datasette · Queries took 1.11ms · About: github-to-sqlite