index_object:drop()
-
object
index_object
¶ -
index_object:
drop
()¶ Drop an index. Dropping a primary-key index has a side effect: all tuples are deleted.
Parameters: - index_object (
index_object
) – an object reference.
Return: 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() --- ...
- index_object (
-