Updated at July 17, 2026 02:08 PM
index_object:drop()
index_object
Drop an index. Dropping a primary-key index has a side effect: all tuples are deleted.
Parameters:
index_object(index_object) — an object reference.
Returns
nil.
Possible errors:
- index does not exist,
- a primary-key index cannot be dropped while a secondary-key index exists.
Example:
tarantool> box.space.space55.index.primary:drop()---...