home / github / issue_comments

Menu
  • Search all tables
  • GraphQL API

issue_comments: 747807289

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/1150#issuecomment-747807289 https://api.github.com/repos/simonw/datasette/issues/1150 747807289 MDEyOklzc3VlQ29tbWVudDc0NzgwNzI4OQ== 9599 2020-12-18T01:22:05Z 2020-12-18T01:22:05Z OWNER

Here's a simpler query pattern (not using CTEs so should work on older versions of SQLite) - this one lists all indexes for all tables: sql select sqlite_master.name as 'table', indexes.* from sqlite_master join pragma_index_list(sqlite_master.name) indexes where sqlite_master.type = 'table' https://latest.datasette.io/fixtures?sql=select%0D%0A++sqlite_master.name+as+%27table%27%2C%0D%0A++indexes.*%0D%0Afrom%0D%0A++sqlite_master%0D%0A++join+pragma_index_list%28sqlite_master.name%29+indexes%0D%0Awhere%0D%0A++sqlite_master.type+%3D+%27table%27

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