Skip to content

Instantly share code, notes, and snippets.

@aniruddha27
Created September 9, 2020 13:20
Show Gist options
  • Save aniruddha27/5a1949c77403af1eafae4ccd0ced2fbd to your computer and use it in GitHub Desktop.
Save aniruddha27/5a1949c77403af1eafae4ccd0ced2fbd to your computer and use it in GitHub Desktop.
# Drop index
db.restaurants.drop_index('cuisine_1')
# Get indexes
db.restaurants.index_information()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment