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

Allow an index to be dropped #626

Open
tobych opened this issue Apr 27, 2024 · 0 comments
Open

Allow an index to be dropped #626

tobych opened this issue Apr 27, 2024 · 0 comments

Comments

@tobych
Copy link

tobych commented Apr 27, 2024

Hi. This library is awesome! Also. I'd love to be able to drop an index.

I can submit a PR to do this, but I'd love some discussion first.

Unless, of course, there's a way of doing this from the library I've not noticed.

Something like this:

mytable.indexes[0].drop(ignore=True)

I guess ideally I could access the index by name, too. Separate issue, of course.

mytable.indexes['idx_table_col1_col2'].drop(ignore=True)
@tobych tobych changed the title Add Index.drop(ignore=False) Allow an index to be dropped Apr 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant