home / github / issue_comments

Menu
  • Search all tables
  • GraphQL API

issue_comments: 968362214

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/sqlite-utils/issues/335#issuecomment-968362214 https://api.github.com/repos/simonw/sqlite-utils/issues/335 968362214 IC_kwDOCGYnMM45uAjm 9599 2021-11-14T20:59:15Z 2021-11-14T20:59:15Z OWNER

How to figure out if an index name is already in use? PRAGMA index_list(t) requires a table name. This does it:

sql SELECT name FROM sqlite_master WHERE type = 'index';

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