Top.Mail.Ru
space_object:drop() | Tarantool
Tarantool
Check out the new release 2.8
Submodule box.space space_object:drop()

space_object:drop()

space_object:drop()

object space_object
space_object:drop()

Drop a space. The method is performed in background and doesn’t block consequent requests.

Parameters:
Return:

nil

Possible errors: space_object does not exist.

Complexity factors: Index size, Index type, Number of indexes accessed, WAL settings.

Example:

box.space.space_that_does_not_exist:drop()