Search code examples
luatarantool

How to remove an index in Tarantool?


I have a space with some indexes and want to delete one of them.

I've overlooked the index's delete method in the documentation but get nothing.


Solution

  • This method called drop:

    box.space.test.index.user_id:drop()
    

    Read more about in documentation.