space_object:rename() | Tarantool
Submodule box.space space_object:rename()

space_object:rename()

object space_object
space_object:rename(space-name)

Rename a space.

Parameters:
Return:

nil

Possible errors: space_object does not exist.

Example:

tarantool> box.space.space55:rename('space56')
---
...
tarantool> box.space.space56:rename('space55')
---
...
Found what you were looking for?
Feedback