Updated at September 7, 2026 01:25 PM
index_object:rename()
Rename an index.
Parameters:
-
index_object(index_object) — an object -
index-name(string) — new name for index
Returns
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.