Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mechanism for seeing indexes on a specific table #618

Closed
simonw opened this issue Nov 9, 2019 · 2 comments
Closed

Mechanism for seeing indexes on a specific table #618

simonw opened this issue Nov 9, 2019 · 2 comments

Comments

@simonw
Copy link
Owner

@simonw simonw commented Nov 9, 2019

The only way to see the indexes that apply to a specific table at the moment is to run the following SQL manually:

select * from sqlite_master where type = 'index' and tbl_name=?

For example:

f__select___from_sqlite_master_where_tbl_name____following__and_type__index_

It would be good if this list of indexes was displayed in a neater way on the table page.

@simonw

This comment has been minimized.

Copy link
Owner Author

@simonw simonw commented Nov 9, 2019

Easiest solution here would be to append these on to the create table statement that is displayed on the table page.

@simonw simonw closed this in 28c4a6d Nov 10, 2019
@simonw

This comment has been minimized.

Copy link
Owner Author

@simonw simonw commented Nov 10, 2019

simonw added a commit that referenced this issue Nov 11, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
1 participant
You can’t perform that action at this time.