index_object:rename()
-
object
index_object
¶ -
index_object:
rename
(index-name)¶ Rename an index.
Parameters: - index_object (
index_object
) – an object reference. - index-name (
string
) – new name for index
Return: nil
Possible errors: index_object does not exist.
Example:
tarantool> box.space.space55.index.primary:rename('secondary') --- ...
Complexity factors: Index size, Index type, Number of tuples accessed.
- index_object (
-