如何在Tarantool中删除索引?

问题描述

我的空格中有一些索引,想删除其中一个

我在文档中忽略了索引的delete方法,但一无所获。

解决方法

此方法称为drop

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

详细了解in documentation